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 
September 24, 2021, 02:47:43 PM *
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: [6.2, 6.3-alpha] JPPF admin-UI does not attempt to connect to a remote host  (Read 80 times)

gnh1201

  • JPPF Padawan
  • *
  • Posts: 2

Hi.

I modified "jppf-gui.properties" file in admin-UI as below.

Code: [Select]
driver1.jppf.server.host = myhost.remote

Or

Code: [Select]
driver1.jppf.server.host = xxx.xxx.xxx.xxx

The server is working well, too.

Code: [Select]
driver process id: 8094, uuid: 25390EE9-0E77-4BD9-93CC-13BDA82C69D2
ClientClassServer initialized
NodeClassServer initialized
ClientJobServer initialized
NodeJobServer initialized
management initialized and listening on port 11111
secure management initialized and listening on port 11443
Acceptor initialized
-  accepting plain connections on port 11111
- accepting secure connections on port 11443
JPPF Driver initialization complete

I turned off all port-based firewalls in all routes (Windows Desktop and my Linux server). I checked with Telnet and there is no problem with 11111, 11443 ports.

However, JPPF admin-UI searches only the localhost server and does not even attempt to access the remote address.

If the server is on localhost, it is scanned well.

I attached the log, so I'd like to know what the problem is.
« Last Edit: August 31, 2021, 09:31:57 PM by gnh1201 »
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: [6.2, 6.3-alpha] JPPF admin-UI does not attempt to connect to a remote host
« Reply #1 on: September 04, 2021, 07:39:38 AM »

Hello,

Looking at the logs you provided, it looks like your admin console is configured to discover the driver through the built-in UDP multicast dsicovery mechanism.
I would suggest that you disable it (jppf.discovery.enabled = false) et configure the connection manually in the configuration file instead, as in this example:

Code: [Select]
jppf.discovery.enabled = false
jppf.drivers = driver1
driver1.jppf.server.host = <ip_address_or_host_name>
driver1.jppf.server.port = 11111

Could you please try that and let us know if this works?

Sincerely,
-Laurent
Logged

gnh1201

  • JPPF Padawan
  • *
  • Posts: 2
Re: [6.2, 6.3-alpha] JPPF admin-UI does not attempt to connect to a remote host
« Reply #2 on: September 04, 2021, 11:17:53 PM »

It works! Thanks :)

Code: [Select]
jppf.discovery.enabled = false
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