Home > Back-end >  Domain can bind to port?
Domain can bind to port?

Time:10-28

If I the address of the port is not 80, is it possible to access domain without port direct access to?

CodePudding user response:

How do you know which port are you not the default port users? So can be used to the default port 80 first, and then forwarded to your port, nginx reverse proxy is quite suitable for this kind of forwarding,

CodePudding user response:

Forward to do processing and port forwarding to out

CodePudding user response:

This has nothing to do with the domain name, domain name is the corresponding IP address, protocol is the corresponding interface, the HTTP protocol is using port 80

CodePudding user response:

Domain name is used to map IP addresses, and port has nothing to do,
The function, the original poster said should be a communication protocol and the default port,
For example, HTTP protocol USES port 80 by default, the HTTPS protocol USES port 443 by default,

Want to use the function of the building Lord, you can try to use nginx do the agency service, using nginx domains of the default port of the data, forwarded to the building to use the default ports on the server,

CodePudding user response:

Can't, domain can bind the IP
  • Related