Search found 18 matches

by Heatkigerr
14 Mar 2015, 12:43
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

OK! I reinstalled everything and suddenly it works locally :)

I still can't connect from the internet. I have tried different things, and have some questions I would like answered.
A port checker tells me that my router is directing TPC 9933 to my server. However telnet PUBLIC_IP 8888 fails, even ...
by Heatkigerr
13 Mar 2015, 20:50
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

Don't worry about the bad alias errors. They appear in Windows only, but they are harmless.

Alright :)

telnet [PUBLIC_IP] 8888 should have been working right? Is there anything I have to do to open it?

I have disabled my computer's firewall, and I also tried enabling it and making exceptions ...
by Heatkigerr
13 Mar 2015, 20:44
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

During the installation process you haven't unchecked the "Install as a service" option, which is the default, if I recall correctly.
You should open the Windows Management Console > Services and look for the SmartFoxServer 2X service. From the you can start/stop the server.

If you have made ...
by Heatkigerr
13 Mar 2015, 20:20
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

Are you sure you're not already running SFS as a service in the background?
That would explain the error. Simply open your browser to localhost:8080/admin/ and see if the AdminTool comes up. If it does you have another copy of the server running.

thanks

Seems like there is another SFS running ...
by Heatkigerr
13 Mar 2015, 17:35
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

Here are the results of some telnet commands:

telnet PUBLIC_IP 9933 FAILED
telnet PUBLIC_IP 8080 SUCCESS
telnet PUBLIC_IP 8888 FAILED
by Heatkigerr
13 Mar 2015, 16:36
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

My colleague made me notice that in your screenshot the " use WSS protocol " switch is turned ON.
That's the problem. :) You have configured websocket to work in SSL mode, therefore it won't work in "regular mode".

Just turn it off, restart the server and you should be up and running.

Cheers ...
by Heatkigerr
13 Mar 2015, 14:20
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

Lapo wrote:Are you running a firewall on your computer? If you use Windows chances it is blocking the TCP port.
Make sure to add a rule for port TCP 8888, so that traffic is allowed.

Thanks
Nope, it is disabled.
by Heatkigerr
13 Mar 2015, 12:36
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Re: Connection Refused

The server is configured to listen on 127.0.0.1 (localhost) so it will only allow connections from the machine itself.
If you run the Chat on the same computer it should work fine, like the AdminTool.

If you're attempting to connect from other computers in the network then this setup won't work ...
by Heatkigerr
13 Mar 2015, 11:10
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Refused
Replies: 22
Views: 42564

Connection Refused

I'm having some trouble connecting to the server. Specifically I'm using the Advanced Chat example for HTML5. The server is running, and we have successfully connected to the administrator panel from the internet.

However, when connecting through the Advanced Chat index, there is an alert saying ...
by Heatkigerr
07 Mar 2015, 16:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

Yes I do.
You create the class, add the event listeners and then send a login request... without connecting first? :)

First you need to call connect(...) , handle the connection event, then send the login request .

Please refer to the examples provided in your SFS installation (under the ...
by Heatkigerr
19 Feb 2015, 11:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

it's a bit difficult to find the inbox at this forum, so I'll just paste what you wrote:

Hi,
I don't see anything wrong. The client connects and there is no error.
I've tried the SimpleConnect example in the Examples/AS2 folder and the AvatarChar in AS3/

I have no idea what might be going on on ...
by Heatkigerr
17 Feb 2015, 23:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

9339.

Telnetting has been done successfully to that port.
by Heatkigerr
17 Feb 2015, 16:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

[WARN] Security Error: Error #2048: Security sandbox violation: #file#: cannot load data from #IP#.
by Heatkigerr
16 Feb 2015, 21:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

Sorry for bringing up an old topic, but now it works by editing the global settings as described above.
However, it does not work by default in any browser apart from Internet Explorer. I still get this sandbox security error.

Is there any way to avoid this?
by Heatkigerr
29 Oct 2014, 03:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Problem with hosting
Replies: 17
Views: 53608

Re: Problem with hosting

Running the SWF directly will launch the standalone FlashPlayer, which in turn has a security mechanism that will prevent the network to be used.
Also it will do this without notice for the user! :(

This is known problem that Adobe has never fixed. They rely on the developer to understand from ...