aspose file tools*
The moose likes JSP and the fly likes How to use Tomcat to connect to my web server IP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to use Tomcat to connect to my web server IP?" Watch "How to use Tomcat to connect to my web server IP?" New topic
Author

How to use Tomcat to connect to my web server IP?

eric lee
Ranch Hand

Joined: Nov 04, 2002
Posts: 86
I created my own web-server,so how to use Tomcat
to connect to my ip insted of localhost/8080? Thank.

ps:
use Win2000 advance server
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
you might give more information for some help - this question doesnt make sense. Do you want your server to be available on the internet?
Tomcat is the web server and it will no doubt be connected to your "IP" - if you know you ip address then try connecting to it now with :8080 appended.
as well as you ip addres, your localhost address is mapped to 127.0.0.1 a "loopback" address that just uses you local network to connect the computer to itself. If yuo want to change the port that tomcat uses you need to look in the server.xml file within your /config folder inside the tomcat installation. Somewhere in there you can change 8080 to 80 which will mean you can just use localhost. If you now know you ip address try that without a number.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
eric lee
Ranch Hand

Joined: Nov 04, 2002
Posts: 86
Hi,chanoch wiggers:
i change server.xml 8080 to 80 and shutdown IIS
Server but it does not work.If i use tomcat port 8080 and turn on IIS, i type http:128.164.64.4:8080/index.jsp,it still can not work too.Thanks
eric lee
Ranch Hand

Joined: Nov 04, 2002
Posts: 86
or how to combine Tomcat+IIS together
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61767
    
  67

I believe there are posts addressing this subject in the Tomcat forum. You might want to look through that forum to see if your needs are discussed.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use Tomcat to connect to my web server IP?