ERR_CONNECTION_REFUSED (refused to connect) on web service created

january_febrojanuary_febro Member Posts: 12 Contributor II
edited November 2018 in Help

Hi Experts,

I created a webservice and it works fine when i test it but if i use the direct link on my browser it gives me an error of

  This site cant be reached.

  <hostname> refused to connect



 I already created an anonymous user and set the permission rights as well as setting the ff. to true:


com.rapidanalytics.web.anonymous_resources true
com.rapidanalytics.web.anonymous_services true

and i also read from another forum to add "public" 


What seems to be the problem? 


Thank you



  • Edin_KlapicEdin_Klapic Moderator, Employee, RMResearcher, Member Posts: 299 RM Data Scientist

    Hi january_febro,


    did you create the user anonymous?

    Since recent API changes the path for anonymous webservices changed to /api/rest/public/process/<webserviceID>

    You will find all other information regarding this topic on


    Best regards,


  • kevin_reifkevin_reif Member Posts: 6 Contributor I



    I have similar problems. I created an anonymous user and gave it all the rights. But when i call a web service like this:


    it can not be found and I get error 404 page not found..

    I can only call it like this:


    without the public, but that's not what I want..


    Hope you can help me and best regards



  • Edin_KlapicEdin_Klapic Moderator, Employee, RMResearcher, Member Posts: 299 RM Data Scientist

    Hi @kevin_reif,


    Please check the name of the Webservice. Since it is an URL special characters like blanks need to be encoded. Just google for URL encoding. A blank is e.g. represented by %20


    Happy Mining,


  • hardiktechiehardiktechie Member Posts: 1 Contributor I

    You might be facing err_connection_refused error from the browser side, first you must troubleshoot your browser issues and then make any changes on webservice. First apply some basic suggestions such as clearing data, creating new profile and cookies and then apply some advance level recommendations of changing the proxy settings. You can read all suggestions on and check whether this error is fixed or not. One suggestion to troubleshoot browser will surely help you out.

Sign In or Register to comment.