[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

ActionScript socket port

Posted on 2009-07-01
7
Medium Priority
?
1,168 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
Industry Leaders: 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!

 
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

Technology Partners: 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

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

650 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