Re: Remote access to Tomcat web server
- From: mikwiat@xxxxxxxxx
- Date: 30 May 2007 12:51:38 -0700
On May 30, 6:22 pm, elili...@xxxxxxxxx wrote:
Hi,
I'm trying Tomcat for the first time .
I've installed Tomcat (apache-tomcat-6.0.13, zip-version). It runs ok.
Then I've installed MySQL and there I've created my database.
Then I've writed a java servlet for querying the data.
Well, this is what happens.
1) In localhost, it's all ok: the servlet runs, reads data from tables
and displays them in a browser window.
2) From another host (of my LAN), nothing: a 404 error appears.
My question:
what can I modify to allow remote access to tomcat web-server?
Note: I call my servlet using these URL:
http://localhost:8080/database_access/listadb(in a local contest)
http://192.168.1.55:8080/database_access/listadb(in a remote contest)
Can you help me?
Thanks! Luigi
I don't know how it is with Tomcat, but i know that Apache have some
string in configuration that "says" that server can just be entered
writing 127.0.0.1 || localhost.
You can use this site: http://www.coreservlets.com/Apache-Tomcat-Tutorial/
hope that helps :)
.
- Follow-Ups:
- Re: Remote access to Tomcat web server
- From: eliliano
- Re: Remote access to Tomcat web server
- References:
- Remote access to Tomcat web server
- From: eliliano
- Remote access to Tomcat web server
- Prev by Date: Design Question for Model and View
- Next by Date: Re: Loading a class using the applet class loader
- Previous by thread: Remote access to Tomcat web server
- Next by thread: Re: Remote access to Tomcat web server
- Index(es):
Relevant Pages
|