• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Very Urgent .. Please respond immediately

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I ran in to some issues.. and my code needs to e in production Please respond immediately....
I am trying to open a socket to a machine outside our firewall at a perticular port. Say our firewall is f1 and the firewall of the url to which i am opening connection is f2.
f1 is open for only perticular machines particular port of f2 and vise versa. (dedicated circuite is the thing I heared??? I am very new, never came across all these firewall things so excuse me...)
How to I restrict my client socket to only those ports??? I heared of some socket implementation factory and all...But how to use those. Do any one have code samples.....
Thanks alot for ur help in advance.
Hope I am clear if not please respond with your questions
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may try the following:
System.getProperties("proxySet","true");
System.getProperties("proxyHost",proxyMachineName);
System.getProperties("proxyPort",poerNumber);
Hop this help you!

 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks kkyim
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic