• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 539
  • Last Modified:

Java Port Options

At work we have a Java Applet that we use to transfer files over the web. The problem we're running into is that since the Java Applet uses a pretty high port number, a lot of our remote locations are running into firewall issues. Sometimes we'll get lucky and the location's tech dept will open the port for us, but other times we're just S.O.L.

I was wondering if a java transfer applet could be run over port 80 or some other standard port which is generally open by default firewall settings.  I'm sorry if this is a dumb question but I'm not very familiar with java and if we could set the applet to use a common port it would relieve a lot of headaches.
0
sagedine
Asked:
sagedine
  • 2
1 Solution
 
kennethxuCommented:
>> I was wondering if a java transfer applet could be run over port 80
is you applet listening on a port or just making connection to a server.
if you applet is just making connection to the server. it can connect to any port as long as it is the same server that applet come from.
0
 
objectsCommented:
> I was wondering if a java transfer applet could be run over port 80

Certainly can, you would just need to write a servlet on your server to accept the request and handle the file transfer.
0
 
sagedineAuthor Commented:
thanks guys, would there be any drawbacks to using port 80? the applet only gets used on Fridays so its not like it would be a full time load on that particular port.
0
 
objectsCommented:
No I wouldn't expect any.

Thanks for the points :)
http://www.objects.com.au/staff/mick
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now