?
Solved

ActionScript socket port

Posted on 2009-07-01
7
Medium Priority
?
1,167 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 39

Accepted Solution

by:
blue-genie earned 1000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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 what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

801 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