Solved

ActionScript socket port

Posted on 2009-07-01
7
1,164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

691 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