Nick B
Posts: 0
Joined: Sun Jun 29, 2014 10:34 pm

Connection refused PUT/POST method restservice

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Connection refused PUT/POST method restservice

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.

Nick B
Posts: 0
Joined: Sun Jun 29, 2014 10:34 pm

Connection refused PUT/POST method restservice

Hi Katya,

They are allowed.

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

Any ideas what could be done?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Connection refused PUT/POST method restservice

Hi Nick,

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

Return to “Issues”