aspose file tools*
The moose likes Tomcat and the fly likes Tomcat clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat clarification " Watch "Tomcat clarification " New topic
Author

Tomcat clarification

Raj kalaria
Ranch Hand

Joined: Sep 08, 2005
Posts: 72
Hi

can some one tell me : importance of of "127.0.0.1"

"http:/127.0.0.1:8080 does 127.0.0.1 is substitue of local host
how do we get that IP address is it always for tomcat?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
127.0.0.1 is the "loopback" address, which is kind of a shortcut for addressing the originating machine. localhost is generally configured to point to 127.0.0.1, but you could theoretically change that to something else in yours hosts file (although that wouldn't be a good idea).

8080 happens to be the default port that Tomcat attaches itself to. That can be changed to something else in the startup scripts if you want.


Ping & DNS - my free Android networking tools app
Raj kalaria
Ranch Hand

Joined: Sep 08, 2005
Posts: 72
hi

thanks a lot
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

Moved.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Raj kalaria
Ranch Hand

Joined: Sep 08, 2005
Posts: 72
Moved?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

Originally posted by Raj kalaria:
Moved?


From here
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat clarification