Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 or ask your own question.