Port not opening?

Hello, i am relatively new to Unity, so hopefully this is not a dumb question. I am using this to create a server on the client:

Network.InitializeServer(32, 25001, !Network.HavePublicAddress());

For some reason when i go to an online port checker, and i type in port 25001, i get an error saying it is closed. This also is why my server can not be seen on the master server…I think. All examples i follow lead to the same issue.

The server is registered, but i do not get that the server is online. Why is the port not opening? I have disabled my firewall and port-forwarded port 25001.

Also, could i use a linux server (with no UI) to run a game server?

What do you mean? that is an IP address, not a port?

Sorry did not watch it was door. You have to use port 25000 and not 25001. Sought and took a few sites in Portuguese of Brazil and found an explanation of how to make the server on the client machine.

Why does it matter what port i use? If that is the only port i can use, then why does unity allow me to pick one?

2 Answers

2

Is your Port Forward placed on Right IP of the router? otherwise it will still block

Instead of using port 25001 try to use 127.0.0.1

That is an IP address NOT a port...