I'm using aws ec2 to run a Linux server. I'm running perforce on it which listens on port 1666 by default, but I want it to listen to port 80.
If I set p4d to listen on port 80, it fails saying it's in use by tcp/ip something. I don't access the server from the web, only via ssh so I don't mind losing http connection.
I used
./p4d -p 80
to set my port