This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes which port to open up? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "which port to open up?" Watch "which port to open up?" New topic
Author

which port to open up?

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
Some network/security guy is telling me he needs to know which port to open up on his network in order for an applet on our website to run in their browsers. Is this true? I don't see anywhere in our simple applet's code where anything like this is specified. It loads up an image that is passed to it as a parameter, so I don't see why it would send a message back up to our site (but he says he can see it going back out, and because it never loads in the browser, he assumes he needs to know what port to open up so it can come back in). I kind of thought that if the webpage loads, then the applet files have been downloaded along with it, and since the image gets passed as a parameter, there is no need for it to "go back out" over the net again, but I suppose I was wrong about this...

Louie van Bommel
Ranch Hand

Joined: Aug 17, 2004
Posts: 76
No extra ports needed. Just plain old port 80 (the HTTP port). It must be a configuration problem in the browser... like disabling java or something.

It's not a port problem. I've had web servers with ONLY port 80 open, and they spew out java applets like there's no tomorrow.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: which port to open up?