2 Replies Latest reply on Apr 19, 2010 7:27 PM by Glen Whitaker

    Problem with webservice - service is avilable only for  localhost

    rafal janik Newbie

      Hi All,


      There is a little problem with web-service in my Fuse 4.2.0.


      The same service with the same settings is running on previous Fuse version without any problems.


      The service is defined in spring :


             <jaxrs:server id="clCSGRestService" address="$">



      and the sevice is set to http://localhost:8190/myService :



      my second try was to set




      Both tested with curl :


      curl -d 'anyText' http://localhost:8190/myService/testService/test -H "Content-Type: text/plain"


      Ok - it works, but when I change localhost to host address or even ip it doesn't work:


            curl: (7) couldn't connect to host


      because the port is opened only for a localhost.


      Should I change something in karaf configs? Why with servicemix (FUSE there is no such error?