Hi Ray.
"localhost" is just that - it is accessible only to the local machine.
In order to make your server accessible to other machines you need to specify it's
IP address in the server.xml file.
In the connectors section of "server.xml" you need to replace "127.0.0.1" with
the IP of your machine.
<!-- Normal HTTP -->
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="inet" value="127.0.0.1"/>
<Parameter name="port" value="8080"/>
</Connector>
Once you've done this a restarted you can access your webserver remotely by
specifying the actuall IP and port number in use.
Hope that helps.
Pete.
On Thu, 13 Sep 2001 10:16:10 -0400
Raymond Reid <[EMAIL PROTECTED]> wrote:
RR> Can I configure Tomcat to accept http requests from remote IP addresses
RR> without running another web server at the same time? I
RR> currently have Tomcat 3.2.3 installed on NT 4.0 Service pack 6. After
RR> configuring Tomcat, I can enter http://localhost8080
RR> into the location field in my browser and see the welcome page. But
RR> when I try to access the same page from a
RR> different computer using the IP address of the machine I have Tomcat
RR> running on, the page won't come up.
RR>
RR> Do I need to be running Apache with Tomcat to access pages remotely? If
RR> someone could please point me in the right
RR> direction, I would really appreciate it.
RR>
RR> Thanks,
RR> Ray