Page 1 of 1

Connection refused PUT/POST method restservice

Posted: Fri Jul 18, 2014 2:22 pm
by Nick B

Hi,

I have a restservice to fetch data from my mysql db which is on another domain.

When using the get method, everything works fine with the proxy enabled in Appery.

However when I try to use put/post, I get the following error message:
"response":"org.apache.http.conn.HttpHostConnectException: Connection to [url=http://domain]http://domain[/url] name* refused"

Even with the proxy enabled, it doesn't work.

Any ideas what it could be?

Thanks Image


Connection refused PUT/POST method restservice

Posted: Fri Jul 18, 2014 2:51 pm
by Kateryna Grynko

Hi Nick,

Please check this in documentation for the REST API you use. You should see whether requests with methods 'put' and 'post' are allowed.


Connection refused PUT/POST method restservice

Posted: Fri Jul 18, 2014 3:08 pm
by Nick B

Hi Katya,

They are allowed.

I've also whitelisted the Appery domain in my hosting account.

Any ideas what could be done?


Connection refused PUT/POST method restservice

Posted: Fri Jul 18, 2014 7:00 pm
by Kateryna Grynko

Hi Nick,

Could you please post a screenshot of service "Test" tab?
You should probably contact this service support.