Server won't connect

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Server won't connect

Postby skybucks100 » 15 Mar 2011, 13:55

Hi,
My AvatarChat won't connect to my VPS witch has SFS 1.6.6 installed. I have tried uninstalling and then reinstalling it. And it acts as if the server doesn't exists.


Thanks!
Best Regards,
Skybucks100
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 15 Mar 2011, 13:56

This has been discussed several times in the forum, please search the existing topics. You have to configure the server properly.
Paolo Bax
The SmartFoxServer Team
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 15 Mar 2011, 22:13

bax wrote:This has been discussed several times in the forum, please search the existing topics. You have to configure the server properly.


Hi,
I believe I have configured my server correctly. I have edited the config.xml to the server IP 65.75.24*.** and have the port to 9339 and I entered the exact same IP and port in to the FLA. It just says Connecting... forever and the server doesn't say anything but the server is up and running.
Best Regards,

Skybucks100
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 15 Mar 2011, 23:03

What if you telnet the server from your client? are you able to reach it?
Paolo Bax
The SmartFoxServer Team
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 15 Mar 2011, 23:42

bax wrote:What if you telnet the server from your client? are you able to reach it?


When I telnet to my server I get:

Code: Select all

<cross-domain-policy><allow-access-from domain='*' to-ports='9339' /></cross-dom
ain-policy>
Best Regards,

Skybucks100
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 16 Mar 2011, 11:35

What if you go to this page in your browser:

http://65.75.24*.**:8080

You should see the page containing the Admin Tool and the examples. Are you able to connect to the server using the Admin Tool? Of course you have to connect to 65.75.24*.**

The examples instead don't work out-of-the-box because by default they are configured to connect to 127.0.0.1
Paolo Bax
The SmartFoxServer Team
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 16 Mar 2011, 22:08

bax wrote:What if you go to this page in your browser:

http://65.75.24*.**:8080

You should see the page containing the Admin Tool and the examples. Are you able to connect to the server using the Admin Tool? Of course you have to connect to 65.75.24*.**

The examples instead don't work out-of-the-box because by default they are configured to connect to 127.0.0.1

Hi,
Yes the http://65.75.24*.**:8080 works and it says SFS was installed successfully. I do not see the admin tool on the page (Should it be? Or do you mean like going to directly from inside the server?) I know that they won't work as they are set to localhost. I am positive they are set to the right IP:

Code: Select all

var ip = "65.75.24*.**";
var port = 9339;
var zone = "PolarWorld"
Best Regards,

Skybucks100
Aiidenb
Posts: 263
Joined: 16 Aug 2010, 22:08
Location: England
Contact:

Postby Aiidenb » 17 Mar 2011, 16:19

Have you fixed it?

skybucks100 wrote:

Code: Select all

var ip = "65.75.24*.**";
var port = 9339;
var zone = "PolarWorld"


if not then what about if you try this:

Code: Select all

var ip:String = "65.75.24*.**";
var port:Number = 9339;
var zone:String = "PolarWorld";
:D
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 18 Mar 2011, 05:15

Aiidenb wrote:Have you fixed it?

skybucks100 wrote:

Code: Select all

var ip = "65.75.24*.**";
var port = 9339;
var zone = "PolarWorld"


if not then what about if you try this:

Code: Select all

var ip:String = "65.75.24*.**";
var port:Number = 9339;
var zone:String = "PolarWorld";
:D


Hi,
I tried that coding and it still doesn't work. Could it be something with my server?
Best Regards,

Skybucks100
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 18 Mar 2011, 17:18

skybucks100, can you please send us by email the complete IP? I would like to check if I can reach your server from here.
Paolo Bax
The SmartFoxServer Team
Aiidenb
Posts: 263
Joined: 16 Aug 2010, 22:08
Location: England
Contact:

Postby Aiidenb » 18 Mar 2011, 18:35

Go on to: http://www.ping.eu and see if your port is open successfully? :D
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 18 Mar 2011, 22:08

Aiidenb wrote:Go on to: http://www.ping.eu and see if your port is open successfully? :D

Hi
yes it does say that port: 9339 is open
Best Regards,

Skybucks100
skybucks100
Posts: 81
Joined: 15 Aug 2010, 23:16
Contact:

Postby skybucks100 » 18 Mar 2011, 22:21

bax wrote:skybucks100, can you please send us by email the complete IP? I would like to check if I can reach your server from here.

Hi,
Sure is the email info@smartfoxserver.com ?
Best Regards,

Skybucks100
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 19 Mar 2011, 13:33

I just tried connecting using the Admin Tool, and everything works fine.
Of course we don't know the admin username and password, so we can't login, but the connection is indeed established.
So you must be doing something wrong in your client.
Paolo Bax
The SmartFoxServer Team

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 67 guests