System.Net.Sockets.SocketException when trying to connect to hosted game in Unity Mirror

-2

This might be a noob question, I just started Mirror in the Unity3D Game Engine:

When I try to connect to a client-hosted server, this exception gets thrown.

Client Recv: failed to connect to ip=localhost port=7777 reason=System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it.

It works fine when I host and join the server on the same machine, but when I try to use different PCs on the same network, that happens.

c#
unity3d
networking
socketexception
unity-networking
asked on Stack Overflow Nov 12, 2020 by SushiWaUmai

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0