Invalid administration TCP port

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

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Invalid administration TCP port

Postby grhwood » 24 Mar 2013, 18:50

Hi,

When i changed SFS2x port to ex: 9936, I cannot log in to admin module. Error from the log: Invalid administration TCP port
I'm using SFS2x 2.6.0 & Admin Tool v1.3.2
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Invalid administration TCP port

Postby Lapo » 24 Mar 2013, 19:03

Make sure to check two things:

1- that you also have set the AdminPort parameter to 9936 in the ServerConfigurator
2- that your crossdomain.xml file (under SFS2X/config/) allows connections to such port, otherwise the flash player will refuse to connect

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: Invalid administration TCP port

Postby grhwood » 25 Mar 2013, 14:03

Hi,

I've done all you said. From the server log, client is connected but Admin Tool is still stuck. I attached the screenshot.

Thanks,
Attachments
3-25-2013 8-44-16 PM.png
(89.12 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Invalid administration TCP port

Postby Lapo » 25 Mar 2013, 14:32

Can you show me the crossdomain.xml?
Lapo

--

gotoAndPlay()

...addicted to flash games
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: Invalid administration TCP port

Postby grhwood » 25 Mar 2013, 14:42

Here is my crossdomain.xml

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*" />
</cross-domain-policy>
grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

Re: Invalid administration TCP port

Postby grhwood » 25 Mar 2013, 15:15

Hi,

I've solved it by change the crossdomain.xml to

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <!-- This is a master-policy file. site-control can be all,none,master-only -->
   <site-control permitted-cross-domain-policies="all"/>

   <!-- Instead of setting to-ports="*", administrators can use ranges and commas -->
   <!-- This will allow access to ports 123, 456, 457, and 458 -->
   <allow-access-from domain="*" to-ports="9936" />
</cross-domain-policy>


Thanks
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Invalid administration TCP port

Postby Lapo » 25 Mar 2013, 15:19

Exactly, that's what I was looking for :D
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 26 guests