- Home /
Mirror Networking - can't connect to hosted server from phone client
Right, so I'm going to post as much information as I can with the hopes someone out there can help me because I'm losing my mind here.
My game concept is as follows: I am hosting a server at home. I connect my phone as a client, which controls a cross-hair in-game using the accelerometer data. This only needs to be accessible to me as it's a performance drawing device, so I don't care about security. I will be projecting the game using a third device, a computer as a client off-site.
I am able to establish a server - client relationship when my phone is connected to my home's wifi. But I am unable to establish a connection when I use my phone data. As I will be off-site, I need this connection to pass.
I establish my server using NetworkManager.singleton.StartServer();
I connect a client to the server using (hiding IP with xxx just for this post) NetworkManager.singleton.networkAddress = "141.168.xxx.xxx"; NetworkManager.singleton.StartClient(); NetworkServer.Listen(7777);
Because I can connect locally I know this connection is viable. I've created a port-forwarding rule in my gateway (I use Belong)
I've made sure my internet is using a static IP
I've made rules in my firewall to allow my program to pass UDP traffic on 7777
I've uninstalled my anti-virus, and tried turning my firewall off entirely
I CANNOT for the life of me get this to work. Please God, or anyone. Help me.
Your answer
Follow this Question
Related Questions
Animations playing only in the Host and not on the clients - Unity Mirror Networking. 1 Answer
Loading texures from client-owned PNG files in Mirror 0 Answers
Sending image data through SyncVar doesn't work (Mirror Networking) 0 Answers
Mirror networking weird behaviour. 0 Answers
How to only authorise Rotation? -using MirrorNetworking 1 Answer