Public IP Server

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

Moderators: Lapo, Bax

Skills07
Posts: 103
Joined: 07 Nov 2016, 14:54
Location: Italy

Public IP Server

Postby Skills07 » 29 Jun 2018, 09:59

Hello guys

i need to try something with my collaborator.

I need to set smartfox server with a public ip and then set my unity client to connect to this ip.

How can i do this?

Thanks for All.
User avatar
Lapo
Site Admin
Posts: 20426
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Public IP Server

Postby Lapo » 29 Jun 2018, 13:47

Hi,
you just need to install SFS on your server and you're good to go :)
If you have a firewall just make sure that TCP ports 9933 and 8080 are open. If you also need, SSL open TCP port 8443.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Skills07
Posts: 103
Joined: 07 Nov 2016, 14:54
Location: Italy

Re: Public IP Server

Postby Skills07 » 29 Jun 2018, 14:27

I have just done all of this,

but i want to know how can i set IP, the ports are open because are the same of a teamspeak server.

because in unity client now i set ip 127.0.0.1.

if my ip is 90.10.22.87 (public ip of my internet connection) i think i need to set it into smartfox
User avatar
Lapo
Site Admin
Posts: 20426
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Public IP Server

Postby Lapo » 30 Jun 2018, 08:19

No,
unless you're using an old SFS2X (< 2.10), all recent SmartFoxServer don't require to configure anything.

You just need to change the address on the client side, using the public IP of the server.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
Skills07
Posts: 103
Joined: 07 Nov 2016, 14:54
Location: Italy

Re: Public IP Server

Postby Skills07 » 01 Jul 2018, 17:42

ok thanks Lapo now i can try it.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 25 guests