- Home /
Network.InitializeServer doesn't work over Internet
I'm creating a server with Network.InitializeServer(32,listenPort) and having hosts connect to them with Network.Connect(remoteIP,remotePort). This works fine when giving 127.0.0.7 or the 192... local LAN IP, but when I try to enter my IP from whatismyip.com it doesn't work. Does Network.InitializeServer only work over LAN?
No, I'm using in a project right now and it works fine. Could we see your code?
I presume that you sit behind a router. If so, you'll need to set your **D$$anonymous$$Z** setting to treat your server's machine as the go-to public IP address.
Setting the D$$anonymous$$Z is dependent on your router's specific model, and you should just google 'set up dmz in ' or something alike.
Your answer
Follow this Question
Related Questions
How can I instantiate different prefabs for owner and proxy using photon? 2 Answers
UNET : SyncVar value not updating, hooks firing 1 Answer
Unity multiplayer solutions: Photon, Unity Networking - what else and in what way is good? 0 Answers
Main Parameters of MP game for Clients to Join 0 Answers
Multiplayer - Standing Still Makes Player Disappear 0 Answers