[UNITY] establish a connection between different PC's

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

fonxsirax
Posts: 1
Joined: 18 Sep 2019, 13:46

[UNITY] establish a connection between different PC's

Postby fonxsirax » 18 Sep 2019, 14:29

Hello everyone, im working in a online Unity project and I have choose the SFS as a choice of network connection.
My code seems working as i can estabilish a connection between differents applications ruining in the same computer (my computer).
The problem is when I compile the project and try to open it in a different machine, the server always returns "Connection Fail. Is the server ruining at all?"

I already have the sfs application running in my computer and already registered my ip in the browser aplication as is showed in the picture.
In the code im using in the ConfigData my Current IP: 192.168.149.209, tcp port: 9933 and Ws port 8080.

What should I do to establish a connection successfully betwen two computers?
Attachments
file.png
(39.63 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 21012
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [UNITY] establish a connection between different PC's

Postby Lapo » 18 Sep 2019, 15:44

Hello,
the first thing to check is firewalls. In particular on the PC running the server.
Make sure that traffic is allowed for TCP 9933 and UDP 9933.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 20 guests