how to configure tomcat 5.5 to change localhost to ip address -


i run application on http://localhost:8080 want use machine ip address or alias instead of localhost put application on internet. please tell me how can this.

please me....

i don't know tomcat, if you're using windows, can edit hosts file redirect localhost ip address.

to this:

  1. press windows key + r
  2. type notepad.exe
  3. go file > open
  4. open file c:\windows\system32\drivers\etc\hosts
  5. put name , ip address want website go format: ip alias
  6. save

example of correct hosts file:

12.345.678.90 www.example.com 

more editing hosts file

note: access localhost 127.0.0.1 http://127.0.0.1:8080


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -