-
1. Re: Making JBoss listen on all NICs
dhaval_shah_m Apr 12, 2006 8:58 PM (in response to dhaval_shah_m)My hostname is p04
wget http://p04:8080
--17:55:34-- http://p04:8080/
=> `index.html'
Resolving p04... done.
Connecting to p04[10.0.1.154]:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,472 [text/html]
100%[===============================================================================================================================================>] 1,472 1.40M/s ETA 00:00
17:55:34 (1.40 MB/s) - `index.html' saved [1472/1472]
where index.html contains :
<!-- header begin -->
<!-- header end -->
My ip address is :
/sbin/ifconfig eth0 |grep "inet addr:" | sed "s/inet addr://" | awk '{print $1}'
11.0.2.144
and doing :
wget http://11.0.2.144:8080
--17:56:59-- http://10.0.1.154:8080/
=> `index.html'
Connecting to 10.0.1.154:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,472 [text/html]
100%[===============================================================================================================================================>] 1,472 1.40M/s ETA 00:00
17:56:59 (1.40 MB/s) - `index.html' saved [1472/1472]
However when I do :
wget http://localhost:8080
--17:58:07-- http://localhost:8080/
=> `index.html'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:8080... failed: Connection refused.
I am not sure why I am not able to connect to the localhost in the first place. -
2. Re: Making JBoss listen on all NICs
dhaval_shah_m Apr 12, 2006 9:09 PM (in response to dhaval_shah_m)Further I am using red hat linux and JBoss 4.0.2 sp2
-
3. Re: Making JBoss listen on all NICs
dhaval_shah_m Apr 12, 2006 9:16 PM (in response to dhaval_shah_m)Sorry JBoss version 4.0.1 sp1
-
4. Re: Making JBoss listen on all NICs
dimitris Apr 14, 2006 5:48 AM (in response to dhaval_shah_m)I would guess listening to all NICs is the default. Have you tried run -b 0.0.0.0