Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Socket from applet

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have a java applet that connects to a server and sends/recieves data.
It all works fine for everyone that doesn't use a Proxy server.

I connect to the server by using

Socket s = new Socket( HOST , 5050 );
s.getInputStream() and so on.

The company that is using the applet have difficulties in using the applet because they have a proxy server. How can I connect via the Proxy?

Hope you can help me
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this help?
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks but it doesn't help.

Can somebody please explain.

I have opened a port in my firewall to communicate from server to client and vise versa. If the client is behind a firewall at my client do they need to open the same port in their firewall... And if so... can somebody please explain.

The client is a java applet.

// Mathias
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on the firewall. Many firewalls, like the Windows XP firewall, just block incoming connections. If this were the case at your client, he could make a connection to your server no problem. Other firewalls, like ZoneAlarm, inform the user if a program attempts to make an outgoing connection. If this is the case at your client's site, he will need to configure his firewall to allow a connection.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you think the firewall is the problem? From your first post I gathered that a proxy might be the issue. Or is this a proxying firewall?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic