Hello all.
I am only learning JSP two days.I want to change the Lookback Address of Tomcat.For example,We can change "localhost" to 192.168.0.22 in IIS Server.So,How can i do it in Tomcat Server?


Thanks very much.

Recommended Answers

All 2 Replies

Java will detect your machine's IP address(es) automatically.

if you use windows ,simply chang your host file
1.use search for host
2. change the line 127.0.0.1 localhost
for example if you change localhost to local then you can access your web site by use local

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.