Hi,
I have developed a REST Web service in camel route like
<cxf:rsServer id="ldapServer" address="http://127.0.0.1:8585/ldaproute"
serviceClass="com.saanga.camel.services.ldap.LDAPTest" />
if i use localhost instead of 127.0.0.1 it gives jetty server cannot assign requested address. If 127.0.0.1 is given it works.
Now i want to expose this service on web for users. As i thought it was simple by replacing 127.0.0.1 with live IP of server but unable to do this jetty server throws error cannot assign requested address.
Please help how i can expose my service over web.
Thanks in advance.