Can anyone suggest me how to configure my localhost:8080 in tomcat to connecting to an IP address instead of localhost such that i access my localhost in any system in my workplace… i am using tomcat6 and netbeans 6.9.1
Tomcat – Configure an IP address instead of localhost:8080 tomcat eg:192.260.0.2:8080
javatomcat
Related Topic
- Tomcat – Configure tomcat 7 with netbeans on ubuntu
- Tomcat – significant page load speed difference : directly accessing Tomcat (localhost) VS accessing tomcat via Apache (mod_jk connector)
- Windows – What exactly is going on when I go to localhost:8080 in the web browser? (Apache Tomcat)
- TomCat Page Instead of Jenkins
- Linux – Running Apache Tomcat 8 on port 80
Best Answer
Your question is ambiguous dude.
If you are asking how you can make the hostname "localhost" resolve to something other than 127.0.0.1 then the answer is:
If you are asking how to get Tomcat to accept requests on some other IP address, then the answer is to edit the
$CATALINA_HOME/conf/server.xml
to add or change the relevant<Connector>
element. Of course, you can only listen on the configured IP address or addresses of your computer's network interface / interfaces.