WCF: System.Net.SocketException – Only one usage of each socket address (protocol/network address/port) is normally permitted

You are overloading the TCP/IP stack. Windows (and I think all socket stacks actually) have a limitation on the number of sockets that can be opened in rapid sequence due to how sockets get closed under normal operation. Whenever a socket is closed, it enters the TIME_WAIT state for a certain time (240 seconds IIRC). … Read more

How to solve SocketException: Failed host lookup: ‘www.xyz.com’ (OS Error: No address associated with hostname, errno = 7)

Adding internet permission is not only a solution. You also have to make sure that you are online whether it is mobile or emulator Make sure you are online whether it is mobile or emulator Make sure you have given internet permission in your app’s android/app/src/main/AndroidManifest.xml <uses-permission android:name=”android.permission.INTERNET”/>