You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by John Smith <js...@googlemail.com> on 2013/12/16 20:55:52 UTC

Web Service won't bind to external interface.

Hello there,

(SMX 4.5.3: Camel 2.10.7, CXF 2.6.9)

Does anyone know what might be happening here:

I have two supposedly identical linux servers with a camel route exposing a
web service on each.
Server 1 correctly binds to the external address but server2 binds to the
local address only. I've also tried 0.0.0.0 on server2 but it will still
use 127.0.0.1.

The log line at the bottom is from server2 indicating that my configuration
is correct. Any ideas?


[john@server1 log]$ netstat -aonp | grep 12123 | grep LISTEN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 ::ffff:10.72.116.178:12123  :::*
 LISTEN      27515/java          off (0.00/0/0)

[john@server2 log]$ netstat -aonp | grep 12124
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 ::ffff:127.0.0.1:12124      :::*
 LISTEN      6331/java           off (0.00/0/0)



19:34:34,830 | INFO  | rint Extender: 1 |
org.apache.cxf.endpoint.ServerImpl | 132 - org.apache.cxf.cxf-api - 2.6.9 |
Setting the server's publish address to be http://10.72.116.179:12124/myws