Port connection error on network
-
amitthedeveloper
- Posts: 9
- Joined: 24 Apr 2013, 14:39
Port connection error on network
Dear Lapo,
Thanks for addressing our issues!
We developed a game and now trying to distribute over network. We have the flash file compiled in exe using Zinc.
We have placed the crossDomain.xml in the folder at server(may be at wrong place).
Now when we play the game on the same PC where the server is installed it connects using 9933 port. But when we use other PC to connect it does not connect using port 9933 but using BlueBox.
We have added exception for port 9933(TCP and UDP) on both client PC and server.
We also tried using a small program even on webserver but no help! I am enclosing the code for the same we are using. Please suggest.
Game source:
http://quicksolution.in/oupupload/game_source.rar
Thanks for addressing our issues!
We developed a game and now trying to distribute over network. We have the flash file compiled in exe using Zinc.
We have placed the crossDomain.xml in the folder at server(may be at wrong place).
Now when we play the game on the same PC where the server is installed it connects using 9933 port. But when we use other PC to connect it does not connect using port 9933 but using BlueBox.
We have added exception for port 9933(TCP and UDP) on both client PC and server.
We also tried using a small program even on webserver but no help! I am enclosing the code for the same we are using. Please suggest.
Game source:
http://quicksolution.in/oupupload/game_source.rar
Re: Port connection error on network
Hi there,
I am not sure how Zinc deals with the flash player security. In theory what they are doing is creating a native code wrapper around the Flash Player.
With a regular standalone Flash Player you need to configure it to allow network access to specific SWF files or an entire folder or tree of folders.
Unfortunately I don't know how this might work when the SWF is compiled to a Windows EXE.
I would recommend to ask the Zinc support team or search in their documentation about how to grant access to local files (for loading the config.xml) and network (in order to access the server)
Thanks
I am not sure how Zinc deals with the flash player security. In theory what they are doing is creating a native code wrapper around the Flash Player.
With a regular standalone Flash Player you need to configure it to allow network access to specific SWF files or an entire folder or tree of folders.
Unfortunately I don't know how this might work when the SWF is compiled to a Windows EXE.
I would recommend to ask the Zinc support team or search in their documentation about how to grant access to local files (for loading the config.xml) and network (in order to access the server)
Thanks
-
amitthedeveloper
- Posts: 9
- Joined: 24 Apr 2013, 14:39
Re: Port connection error on network
Leave the Zinc and the EXE!
I just made a swf deployed on webserver. Even this didnt connected using the port 9933 but connects using the bluebox!
But the swf works well when we run on the server itself.
I just made a swf deployed on webserver. Even this didnt connected using the port 9933 but connects using the bluebox!
But the swf works well when we run on the server itself.
Re: Port connection error on network
Can I have a link to the online SWF?
If you don't want to make the URL public send me a private message.
Cheers
If you don't want to make the URL public send me a private message.
Cheers
-
amitthedeveloper
- Posts: 9
- Joined: 24 Apr 2013, 14:39
Re: Port connection error on network
Everything is on my local network.
though I have uploaded the source of the sample file.
http://quicksolution.in/oupupload/game_source.rar
Do there are some changes to be done in SFS admin to accept connection!
I guess I need to configure my Local web server(WAMP) to allow/accept other ports! Any idea?
Cheers
though I have uploaded the source of the sample file.
http://quicksolution.in/oupupload/game_source.rar
Do there are some changes to be done in SFS admin to accept connection!
I guess I need to configure my Local web server(WAMP) to allow/accept other ports! Any idea?
Cheers
-
amitthedeveloper
- Posts: 9
- Joined: 24 Apr 2013, 14:39
Re: Port connection error on network
Here is the Solution
I have not bound the smart fox sever with thisport.
http://forums.smartfoxserver.com/viewtopic.php?t=13171
Though when I applied this I start getting error
"Invalid TCP port"
I have not bound the smart fox sever with thisport.
http://forums.smartfoxserver.com/viewtopic.php?t=13171
Though when I applied this I start getting error
"Invalid TCP port"
Re: Port connection error on network
Hi, I am not sure if you found a solution or not.
Re: Port connection error on network
Hi, i have something similar going on, but i dont feel like opening new topic.
I've made server up and running, with few extensions, tested it on 127.0.0.1 everything worked fine. After that i run it on my public IP, and here is weird part. I get WARN botLogger was not able to bind socket on public IP. BUT i can connect to that IP from my pc and when i trace connectionIP i get public ip, should i be concerned about that warning or?
I've made server up and running, with few extensions, tested it on 127.0.0.1 everything worked fine. After that i run it on my public IP, and here is weird part. I get WARN botLogger was not able to bind socket on public IP. BUT i can connect to that IP from my pc and when i trace connectionIP i get public ip, should i be concerned about that warning or?
Hi, how are you today?
Re: Port connection error on network
Typically a live server has two IP addresses, a private one which is the physical IP in the local network and public one which is exposed by a router using the NAT service.
In the SmartFox configuration you are required to use the physical address of the machine, which is the private address.
You can check the private IP of the server by running ipconfig/all (Windows) of ifconfig (Linux/Unix) in a console window.
cheers
In the SmartFox configuration you are required to use the physical address of the machine, which is the private address.
You can check the private IP of the server by running ipconfig/all (Windows) of ifconfig (Linux/Unix) in a console window.
cheers