In /etc/hosts
change the line
127.0.0.1 localhost
to be
127.0.0.1 localhost subbu
문제
I installed Apache Tomcat 6.0
,I tested with simple Application it's working fine.but every time I calling my app with localhost:8080
in the browser.
I want to change host name(localhost) to something like subbu
.for this I tried in the following way.
I open command prompt and entered drivers
and after selected etc
folder, open host
file .in this file I changed subbu instead of localhost
.After did this I restarted my system and started apache server
and entered in my browser like subbu:8080
.it's not working.
I hope,you understand what I faced problem.
How can I resolve this.
해결책
In /etc/hosts
change the line
127.0.0.1 localhost
to be
127.0.0.1 localhost subbu