[mono-android] Web Service in Visual Studio

Jonathan Pryor jonp at xamarin.com
Wed Feb 15 12:58:30 UTC 2012


On Feb 15, 2012, at 4:28 AM, johnv wrote:
> [ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
>  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP)

Thank you for the stack trace. :-)

Does your app have INTERNET permission? INTERNET permission is required in order to access any networked resources.

Alternatively, is your server behind a VPN/etc.? Is your Android device able to access your server, e.g. from the Browser app?

Thanks,
 - Jon



More information about the Monodroid mailing list