Unity networking connection issues

Hello

I’ve set-up a very basic client-server using Unity’s networking however no matter what I do people across the internet cannot connect to my external IP.

When the server .exe is fired up I simply start a server like so:

	void Start () {
		Network.InitializeSecurity();
		Network.InitializeServer(200, 9991, !Network.HavePublicAddress());
	}

And on the client .exe upon clicking a connect button I simply connect like so:

Network.Connect(myPublicIP, 9991);

I have forwarded port 9991 on UDP and TCP for my router, I’ve also allowed the server through my firewall. But every time someone outside of my network attempts a connection, they just cannot connect. I’ve tried letting others host too; same issue.

I’ve done countless Google searches to try and locate a solution or even better an example set up which works over WAN, I’ve yet to find anything.

Why isn’t this working? What am I missing?

Moments after posting this I realised that Windows Firewall was blocking public network access, the connection works once I allowed this!