• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem Regarding Sockets  RSS feed

 
Ali Hassaan
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,
I have a problem regarding sockets. I want to know if i make server socket which is listening at 1002 port and server is behind firewall than is it neccessary for me to open port on firewall or JRE do it by itself.
Same problem is associated with me at client end.
Actually, i first made this application in Visual Basic because client have to run it on windows platform only, but at the end of day i found problem regarding opening port on proxy/firewall. But friend of mine told me that in JRE we dont have such problem.
 
Dan Richardson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most firewalls are set up to allow inbound connections only on standard ports. For example, 80 for HTTP, 443 for HTTPS, etc. Unless you can convince your firewall administrator to open a non-standard port on the firewall for you, you are going to have to come up with another solution. In my experience, firewall admins would rather give their right arm than open up non-standard ports on their firewalls. You may want to look into HTTP tunneling as an alternative.
 
Ali Hassaan
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Dan for ur reply,
Can u pls tell me abt some tutorial regarding
Http Tunneling.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!