Page 2 of 2

How can I Test on localhost url

Posted: Tue May 21, 2013 10:36 pm
by John Herdean

the previous errors came from using google chrome


How can I Test on localhost url

Posted: Tue May 21, 2013 10:42 pm
by John Herdean

using firefox i get this message:

org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:1180 refused

and

org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.65:1180 refused


How can I Test on localhost url

Posted: Tue May 21, 2013 10:47 pm
by John Herdean

this is a response on google chrome:

{
"status":"0 ",
"url":"http://192.168.1.65:1180/m/Dispatcher...",
"response":"org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.65:1180 refused"
}

AND

{
"status":"0 ",
"url":"http://127.0.0.1:1180/m/Dispatcher/Su...",
"response":"org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:1180 refused"
}


How can I Test on localhost url

Posted: Tue May 21, 2013 10:48 pm
by maxkatz

Your server is not accessible.


How can I Test on localhost url

Posted: Tue May 21, 2013 10:51 pm
by John Herdean

ok so are you saying that appery cannot connect with Visual Studio or that my settings are not right?


How can I Test on localhost url

Posted: Tue May 21, 2013 10:52 pm
by John Herdean

is there any kind of setting in Visual Studio I can play with to make this work?


How can I Test on localhost url

Posted: Tue May 21, 2013 10:57 pm
by maxkatz

Appery.io doesn't connect to Visual Studio. Appery.io is running in the cloud. In order to test a service, the service has to be accessible on the Internet. You are trying to invoke a service running on your local machine. Appery.io doesn't know what is localhost or 127.0.0.1. The IP address also doesn't seem to work -- most likely you need to open it up for traffic to everyone.

When you export the project into Visual Studio -- and the service is running on your local machine, in theory the service should work.

Try testing your service here: http://hurl.it. If it works there, we'll make it work in Appery.io .


How can I Test on localhost url

Posted: Tue May 21, 2013 11:17 pm
by John Herdean

it doesnt work on hurl.it either - it cannot connect to the server


How can I Test on localhost url

Posted: Tue May 21, 2013 11:35 pm
by maxkatz

Sorry, not much we can do here :)


How can I Test on localhost url

Posted: Wed May 22, 2013 7:33 am
by Maryna Brodina

Hi John! Sorry, but it's outside the scope of our support. You would need to find more information in the Internet.