Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up my web server on my home PC used to return its client's public ip/port for TCP hole punching. As I tested, All port returned from each request(I bind socket to the same port on each request) is the same port number. So I can do hole punching without any problem.

But after I deployed the web on the my hosting server which is on the different ISP(Hosting server is in USA, The client is in Asia). When I request to web, It always return the different port on each request, and I cannot do hole punching anymore. However, while the port is kind of random, the returned ip address is correct.

Seem like some channel in the route between Asia and USA change my source port? Is there any solution for this ?

share|improve this question

closed as off topic by CharlieRB, ChrisF, Ƭᴇcʜιᴇ007, BBlake, 8088 Nov 2 '12 at 16:25

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged .