2
If I request http://localhost
do browsers try a specific port?
Perhaps people set the default port server side? Or must ports be specified (eg. http://localhost:1234
)?
I'm trying to make it as simple as I can for a client to connect to a locally hosted "remote controller" website.
1http by default is port 80 while https defaults to 443. If you are hosting on a different port the client must specify which port. – Zina – 2017-07-31T21:27:55.007
strange. I though port numbers were 4 digits long. If setting up a port, would it be 0080. My current program crashes if given a less than four digit number... but perhaps that's an issue elsewhere. – Seph Reed – 2017-07-31T21:32:30.880
got it, sudo is required for ports < 1024 – Seph Reed – 2017-07-31T21:35:51.947
1
setting up the port where? and BTW the port numbers are from 0 to 65535 see here for list of common port usage
– Zina – 2017-07-31T21:36:22.247