- Home /
Question by
spaul13 · Jan 06, 2018 at 07:11 PM ·
networkingnetworkport
Showing a port already occupied but its not actually occupied
I am trying to do NetworkServer.Listen(6789).
But while running its giving me an error
**Cannot open socket on ip {} and port {34001}; check please your network, most probably port has been already occupied UnityEngine.Networking.NetworkServer:Listen(Int32)*
Although I have checked the available ports sing the IP (using netstat -an) and that port is not used or not being in any listening or established state.
How to solve this problem?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612145947im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Network.Player.port is always 0 0 Answers
Network command is running on client? 1 Answer
Using tags in edit and build 0 Answers
[Command] tag not working 0 Answers