JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
November 18, 2019, 06:39:45 AM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: JPPF problems with NAT  (Read 1653 times)

webcentric

  • Guest
JPPF problems with NAT
« on: July 06, 2012, 03:02:21 PM »

Hi,

We have few nodes on different servers, and all of them are behind NAT (there is a proxy server in front of the servers handling incoming connections and forwarding those to appropriate server).

The problem we are facing is that we can not enter custom IP address in node configuration parameter: jppf.management.host as it only excepts addresses that are locally present on the system. I would like to enter outer IP address here so I can view the node in the admin gui from computers in the outer world.

Thank you,
WEBCentric
« Last Edit: July 06, 2012, 03:22:38 PM by webcentric »
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2256
    • JPPF Web site
Re: JPPF problems with NAT
« Reply #1 on: July 06, 2012, 11:03:19 PM »

Hello,

JPPF doesn't have any specific handling for proxies, however you should be able to set the proxy information at the JVM level, as described in the Java Networking and Proxies documentation (section "2.4 Socks"):

-DsocksProxyHost=<host> for the host name of the SOCKS proxy server
-DsocksProxyPort=<port> for the port number, the default value being 1080

In a JPPF node, you would set this in the node's configuration file in the "jppf.jvm.options" property, for example:
jppf.jvm.options = -Xmx512m -DsocksProxyHost=www.myhost.com -DsocksProxyPort=1080

Can you try this and let us know if it works for you?

Sincerely,
-Laurent
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads