Page 1 of 1

server is listen on all interfaces

PostPosted: Wed Dec 23, 2015 1:31 pm
by armeng
I'm able to bind REST on 192.168.0.254 by specifying -Dserviio.remoteHost=192.168.0.254 parameter.

But ports 8895/tcp, 1900/udp are open on all interfaces and 44331/tcp is open on first interface however -Dserviio.boundAddr=192.168.0.254 is specified (changing from console doesn't help):

[root@main-gw ~]# netstat -a -p | egrep '8895|44331|23423|23424'
tcp 0 0 *:8895 *:* LISTEN 2453/java
tcp 0 0 192.168.0.254:23423 *:* LISTEN 2453/java
tcp 0 0 192.168.0.254:23424 *:* LISTEN 2453/java
tcp 0 0 a.b.c.d:44331 *:* LISTEN 2453/java

How can I bind server only on 192.168.0.254?