[jboss-as7-dev] Equivalent of -b/--host in AS7
Scott Stark
sstark at redhat.com
Thu Mar 24 18:58:20 EDT 2011
I'm using standalone.sh, and definitely see that I can access the 8080
port using any incoming address. Now netstat is showing everything but
8080 on 127.0.0.1:
[335](ironmaiden:IRONJACAMAR_1_0_0_BETA4) > netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
[103](ironmaiden:bin) > netstat -an | grep LISTEN
tcp4 0 0 127.0.0.1.5445 *.* LISTEN
tcp4 0 0 127.0.0.1.5455 *.* LISTEN
tcp46 0 0 *.8080 *.* LISTEN
tcp4 0 0 127.0.0.1.4712 *.* LISTEN
tcp4 0 0 127.0.0.1.4714 *.* LISTEN
tcp4 0 0 127.0.0.1.1091 *.* LISTEN
tcp4 0 0 127.0.0.1.9990 *.* LISTEN
tcp4 0 0 127.0.0.1.1090 *.* LISTEN
tcp4 0 0 127.0.0.1.9999 *.* LISTEN
tcp4 0 0 127.0.0.1.56537 *.* LISTEN
[99](ironmaiden:bin) > telnet 192.168.1.106 8080
Trying 192.168.1.106...
Connected to 192.168.1.106.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[100](ironmaiden:bin) > telnet localhost 8080
Trying ::1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> q
Connection closed.
[101](ironmaiden:bin) >
On 3/24/11 2:21 PM, Brian Stansberry wrote:
> Quick double check: are you using standalone.sh or domain.sh?
>
> Your snippet below is from standalone.xml. I just tried standalone.sh
> and all sockets were bound to 127.0.0.1. But domain.xml has a different
> config; it uses interface "external" which is configured for
> <any-ipv4-address/>.
>
>
More information about the jboss-as7-dev
mailing list