Re: Remote access to Tomcat web server
- From: David Segall <david@xxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 03:58:39 GMT
David Segall <david@xxxxxxxxxxxxxxx> wrote:
eliliano@xxxxxxxxx wrote:Oops! That was a dumb suggestion; you are not accessing the database
Hi,I suspect that you have not granted access to your MySql database from
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)
your network.
from the network.
Otherwise, look in the Tomcat and MySQL logs to find the.
error and, if that does not help, post the logs here.
- 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
- Re: Remote access to Tomcat web server
- From: David Segall
- Remote access to Tomcat web server
- Prev by Date: Re: Remote access to Tomcat web server
- Next by Date: Re: JSP Loading Page... Please wait while my code doesn't work!
- Previous by thread: Re: Remote access to Tomcat web server
- Next by thread: Re: Remote access to Tomcat web server
- Index(es):
Relevant Pages
|