Is there a way to allow incoming TCP/IP connections on ML 2 on, say, port 50000? I'm opening a server socket to listen, but it seems as though there is a firewall setting of some kind that is rejecting connections. I get connection refused.
When I run my Unity server app locally using Play Mode on my workstation, it accepts incoming TCP/IP connections.
Thank you for reaching out regarding this issue. Are you receiving any errors related to this? The ML2 does not block network requests by default. Are you having similar issues on other devices or networks? It could be related to your network at your office/home if there are security restrictions.
This may also be a helpful resource to you. Take a look at your android manifest.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Thanks El, it was very helpful to know there's no blocking of network connections by default. It turns out it was a code error on my part (I wasn't binding to the right network interface to accept incoming connections outside of localhost).
It is working well now!
Happy to help and I'm glad you've got it working.