Re: Remote access to Tomcat web server



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 :)

.



Relevant Pages

  • Re: Remote access to Tomcat web server
    ... I've installed Tomcat. ... Then I've installed MySQL and there I've created my database. ... Then I've writed a java servlet for querying the data. ...
    (comp.lang.java.programmer)
  • Remote access to Tomcat web server
    ... I've installed Tomcat. ... Then I've writed a java servlet for querying the data. ... http://localhost:8080/database_access/listadb (in a local contest) ...
    (comp.lang.java.programmer)
  • Re: Could not get Tomcat Servlet to be recognize
    ... > Installed Tomcat 4.1 and Mysql on a WinXP. ... I've manage to get Tomcat ... Fist, you're missing a <servlet> tag, like: ... comp.lang.java.programmer for advanced questions. ...
    (comp.lang.java)
  • Re: Remote access to Tomcat web server
    ... I've installed Tomcat. ... Then I've installed MySQL and there I've created my database. ... Then I've writed a java servlet for querying the data. ...
    (comp.lang.java.programmer)
  • Tomcat on HP-UX
    ... I download and installed Tomcat 4.1.3 on HP-UX 11.11, ... Web Application Manager page is responding too, but when I try to get ... type Exception report ...
    (comp.lang.java)