Solved

ActionScript socket port

Posted on 2009-07-01
7
1,154 Views
Last Modified: 2013-11-11
Hi,
I use ActionScript code to communicate with TCP server (that I wrote in .Net)
_global.socket = new XMLSocket();
_global.socket.connect(IP, port);
I use port = 13000.
Everything works fine.
But in some other computers, I cannot achieve connection.
I suppose it is because of firewalls.. that "block" this port. Right?
Can you suggest me other port number to use such that I will not have this problem?
Notice that I already use at the server (listening) side the ports 80 and 443.
Thanks, Aryeh.
0
Comment
Question by:tuchfeld
  • 5
  • 2
7 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 24783772
Hi, unfortunately what port is available will always depend on the network of the client.
I don't think it's possible to say port xyz will definately be made available.

i think you might be able to do something with C# where you can check if a port is available if not go find another one.
but i'm not sure, you'll need to ask the C# guys.
0
 

Author Comment

by:tuchfeld
ID: 24788088
I'm trying now port number 563 (NNTP over SSL).
maybe this port is not be blocked by common firewalls...
0
 

Author Comment

by:tuchfeld
ID: 24788143
Hi blue-genie. after all maybe your idea is good.
I should go to the "problematic client" and search for a port number that works for me.
unfortunately, there are technical and anministrative difficultied to test it.
I hoped that there is some "table" of ports un-blocked by common firewalls,
and someone that can advice which to use.
Thanks, Aryeh.
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 39

Accepted Solution

by:
blue-genie earned 250 total points
ID: 24793664
sorry can't help you with that.
on our networks and my clients, generally all ports are closed except 80 and 8080 unless explicity open.
0
 

Author Comment

by:tuchfeld
ID: 24996038
thx blue-genie (sorry for the delay I was expecting other solution)
so in that case I'll try 8080...
I'll let you know if it works.
0
 

Author Comment

by:tuchfeld
ID: 24996986
actualy you gave the solution! Thanks blue-genie.
http://www.grc.com/port_8080.htm
says:
port 8080 is a popular alternative to port 80 for offering web services. "8080" was chosen since it is "two 80's", and also because it is above the restricted well known service port range (ports 1-1023).

Its use in a URL requires an explicit "default port override" to request a web browser to connect to port 8080 rather than the http default of port 80.
0
 

Author Closing Comment

by:tuchfeld
ID: 31598840
she thought she didn't hep but eventually she did.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question