Re: jboss-tomcat bind issue

2005-08-15 Thread Michael Tria

No firewall turned on for this test.

root:/etc/init.d $./iptables status
Firewall is stopped.

Shouldn't Tomcat either be binding to 0.0.0.0 or 127.0.0.1?

tcp0  0 0.0.0.0:8080  0.0.0.0:* 
LISTEN  17487/java


Why is netstat showing three colons (':') instead of the localhost IP 
address (see netstat output below)?



--- Wade Chandler wrote:


Got a firewall turned on?

Wade

--- Michael Tria [EMAIL PROTECTED] wrote:



Please let me know if you think this e-mail belongs
on a JBoss list 
instead of this one...


Problem
===
JBoss 4.0 bundled with Tomcat 5.5, out of the box,
will not bind to port 
8080 for all interfaces.  i.e.  I can telnet to the
port from the 
localhost, but not from outside.  Please let me know
how to bind to this 
port properly.


On local machine...
telnet 127.0.0.1 8080
Trying 127.0.0.1...
Connected to 127.0.0.1.

On remote machine... (IP address masked slightly)
telnet 208.100.x.x
Trying 208.100.x.x...
 - this will eventually time out

Running a netstat -anp | grep 8080 shows this:
Active Internet connections (servers and
established)
Proto Recv-Q Send-Q Local Address   Foreign
Address 
State   PID/Program name
tcp0  0 :::8080 :::* 
LISTEN  17487/java


From the above, I can see that java (jboss) has a
server socket 
listening on port 8080, but the local address looks

off.

System
==
OS:Linux, Fedora Core 2
JBoss: 4.0.2 w/ Tomcat 5.5 (out of the box)
Java:  1.4.2_09

server.xml
==
Here is the relevant sections of the server.xml (out
of the box)

Engine name=jboss.web defaultHost=localhost
  ...
  Host name=localhost
autoDeploy=false deployOnStartup=false
deployXML=false
  ...


I really appreciate the help.

Thanks,
Mike
[EMAIL PROTECTED]





-


To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jboss-tomcat bind issue

2005-08-14 Thread Wade Chandler
Got a firewall turned on?

Wade

--- Michael Tria [EMAIL PROTECTED] wrote:

 Please let me know if you think this e-mail belongs
 on a JBoss list 
 instead of this one...
 
 Problem
 ===
 JBoss 4.0 bundled with Tomcat 5.5, out of the box,
 will not bind to port 
 8080 for all interfaces.  i.e.  I can telnet to the
 port from the 
 localhost, but not from outside.  Please let me know
 how to bind to this 
 port properly.
 
 On local machine...
 telnet 127.0.0.1 8080
 Trying 127.0.0.1...
 Connected to 127.0.0.1.
 
 On remote machine... (IP address masked slightly)
 telnet 208.100.x.x
 Trying 208.100.x.x...
   - this will eventually time out
 
 Running a netstat -anp | grep 8080 shows this:
 Active Internet connections (servers and
 established)
 Proto Recv-Q Send-Q Local Address   Foreign
 Address 
 State   PID/Program name
 tcp0  0 :::8080 :::* 
 LISTEN  17487/java
 
  From the above, I can see that java (jboss) has a
 server socket 
 listening on port 8080, but the local address looks
 off.
 
 System
 ==
 OS:Linux, Fedora Core 2
 JBoss: 4.0.2 w/ Tomcat 5.5 (out of the box)
 Java:  1.4.2_09
 
 server.xml
 ==
 Here is the relevant sections of the server.xml (out
 of the box)
 
 Engine name=jboss.web defaultHost=localhost
...
Host name=localhost
  autoDeploy=false deployOnStartup=false
 deployXML=false
...
 
 
 I really appreciate the help.
 
 Thanks,
 Mike
 [EMAIL PROTECTED]
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]