• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
eric lee
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
or how to combine Tomcat+IIS together
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic