RE: accepting requests from outside the host?

2009-02-13 Thread Frank D. Greco

Thanks for the response Chuck.

I took a look at the tomcat process on my box and it has this:

sockname: AF_INET6 :::127.0.0.1  port: 8080

Basically, its localhost.

I can't telnet or ping.  Our ISP sysadmin disabled those on the firewall.

Someone else said I need to bind it to the ipaddr of the box (OpenSolaris btw),
but I'm not sure how to do that.

Frank

 Can someone pls point me in the right direction on
 how to configure tomcat to accept browser requests
 from outside the box?

No configuration necessary - unless you changed something in server.xml, To=
mcat binds to 0.0.0.0, so it listens on all IP addresses configured for the=
 box it's running on.  There very likely *is* a firewall blocking port 8080=
 somewhere between your browser and the Tomcat system - it might even be on=
 your XP box at home.

Can you reach the target system with a ping?


--
+==+
| Crossroads Technologies Inc. |
| www.CrossroadsTech dot com   |
| fgreco at REMOVEtheX!cross!roads!tech!dotXcom|
+==+
--


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: accepting requests from outside the host?

2009-02-13 Thread Frank D. Greco



 I can't telnet or ping.  Our ISP sysadmin disabled those on
 the firewall.

Nice guy.


He said it was a security precaution.  Actually I don't
blame him.


 Someone else said I need to bind it to the ipaddr of the box
 (OpenSolaris btw), but I'm not sure how to do that.

Set the address attribute of your Connector element(s) in 
conf/server.xml to the desired IP address:

http://tomcat.apache.org/tomcat-6.0-doc/config/http.html


Ah... I see what the problem was.

I had the Server port set to 8080 but the Connector port
was still set to 80.  Once I set the Connector port to 8080,
I got in.

Thanks for your help Chuck!  I owe you one.

Frank G.
--
+==+
| Crossroads Technologies Inc. |
| www.CrossroadsTech dot com   |
| fgreco at REMOVEtheX!cross!roads!tech!dotXcom|
+==+
--


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



accepting requests from outside the host?

2009-02-12 Thread Frank D. Greco

I'm new at tomcat config, so go easy... :)

I wanted to setup tomcat for some testing.  So I installed tomcat on 
a new box at our hosting service (which hosts other prod websites of 
ours).  I was able to see tomcat from a browser on the same box.  I 
saw port 8080 (my config setting) associated with the tomcat/java 
process, ie, browsing to http://localhost:8080 worked fine.  So far so good.


But I can't seem to reach it from the outside.  Our ISP admin says 
port 8080 is open on the firewall, but my WinXP home machine can't 
reach it.  I tried to telnet to it, but no luck.


Can someone pls point me in the right direction on how to configure 
tomcat to accept browser requests from outside the box?  There 
probably needs to be something set in server.xml, but I can't seem to 
find that info.


Thanks,

Frank G.
--
+==+
| Crossroads Technologies Inc. |
| www.CrossroadsTech dot com   |
| fgreco at REMOVEtheX!cross!roads!tech!dotXcom|
+==+
--


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org