This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41052
    
  43
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: 60752
    
  65

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: 60752
    
  65

Originally posted by Raj kalaria:
Moved?


From here
 
 
subject: Tomcat clarification
 
Similar Threads
Jconnector / Apache / Tomcat problems
tomcat setup
regarding tomcat
Tomcat Page cannot be displayed
Help Please