I don't want to write port number after the domain name

We can't use the default http port 80 and must change to other port like 8081
but I don't want to type the port number after my domain.
Howo to do something avoid typing port number after the domain name?

here, I am a newbie, pls help me.
 
You can't. The URI specification dictates, no port number = port 80. You can't change that.
 
If you are not using the standard port 80 for http (or 443 for https) then you have to write the port number. It's the way it is designed, as browsers assume port 80/443 if you don't specify it. It's the port given to http by IANA, so it is a defined standard.

Otherwise you have to set up a proxy that do answer to the 80 port and then forwards that request to your non-standard port.
 
Back
Top