How to set DNS for IP:8080 ?
I installed the tomcat in my server. However this pointing for ip:8080. I configure my DNS for my domain. But, when I access the my domain, will for ip and no for ip:8080
What do I do regarding this?
Thanks you a lot!
5 Replies
@gsdev:
Hello the all!
I installed the tomcat in my server. However this pointing for ip:8080. I configure my DNS for my domain. But, when I access the my domain, will for ip and no for ip:8080
What do I do regarding this?
Thanks you a lot!
DNS lists IP addresses but not ports. Setup your server to use port 80 or tell your clients to use ':8080' at the end of the URL. Putting your web server on port 80 is the better option.
Browsers then use the IP address to request web pages. If the request is http, such as
You can tell browsers not to use the default ports, for example
One problem with using non-standard ports is that many firewalls, such as the outgoing firewall where I work, will block non-standard ports. For this reason you might be better off to use the standard port 80.
James