E
eliliano
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'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