Skip to content Skip to sidebar Skip to footer

Socket Error #113 No Route To Host On Android

In a Delphi XE6 FireMonkey app, when I press the button, I get the following error on Android: Socket Error #113 No route to host procedure TForm1.Button1Click(Sender: TObject);

Solution 1:

The application failed to connect with x.x.x.x

To verify the error, try connecting to the host x.x.x.x from the same computer, using a web browser, or Telnet on port 80. If a normal web browser can not connect, Indy TIdHTTP will not be able too. (Ping is not useful for http)

Note: on Android, use the built-in default browser to do the test. Also check that the app permissions include the permission INTERNET.

Post a Comment for "Socket Error #113 No Route To Host On Android"