boinc client binding port 31416 to localhost and not network address, not accessable remotely

Message boards : Questions and problems : boinc client binding port 31416 to localhost and not network address, not accessable remotely
Message board moderation

To post messages, you must log in.

AuthorMessage
dff

Send message
Joined: 30 Mar 20
Posts: 3
Message 97178 - Posted: 30 Mar 2020, 10:18:31 UTC

Hi all!

For reasons unknown i can no longer connect to the boinc client with boinc manager on a remote system. boinccmd locally works fine. The changes i made prior to this problem occurring were to account_boinc.bakerlab.org_rosetta.xml and boinc_client_flags= in /etc/rc.conf - changes restricted to account keys only!

client: BOINC 7.8.6
Operating System: FreeBSD 11.3-RELEASE-p6

manager: BOINC 7.14.2
Operating System: Debian GNU/Linux 10 (buster)

sample sockstat output from the boinc client host.
boinc boinc_clie 31471 6 stream -> ??
boinc boinc_clie 31471 8 tcp4 127.0.0.1:31416 *:*
boinc boinc_clie 31471 12 tcp4 10.0.0.66:28187 128.95.160.157:80
boinc boinc_clie 31471 14 tcp4 10.0.0.66:12385 128.95.160.156:80

Scan from boinc manager host on boinc client host.
Nmap scan report for xxxx.xxx (10.0.0.66)
Host is up (0.0013s latency).

PORT STATE SERVICE
31416/tcp closed boinc

31416 is bound to 127.0.0.1:31416 and not 10.0.0.66:31416, could that be the problem? if so, how do i change it?

boinccmd from the command line on the remote host returns "can't connect to 10.0.0.66". The gui version gives no errors, sometimes the bottom right icon changes to disconnect or is stuck on connecting.

Thank you for your time!
ID: 97178 · Report as offensive
dff

Send message
Joined: 30 Mar 20
Posts: 3
Message 97179 - Posted: 30 Mar 2020, 10:36:10 UTC - in response to Message 97178.  

/etc/rc.conf

# Enable BOINC on start-up
boinc_client_enable=YES
boinc_client_flags="--allow_remote_gui_rpc --attach_project http://boinc.bakerlab.org/rosetta/ my-account-key"
ID: 97179 · Report as offensive
dff

Send message
Joined: 30 Mar 20
Posts: 3
Message 97180 - Posted: 30 Mar 2020, 10:57:26 UTC

i found out what was causing this.
In cc_config.xml <allow_remote_gui_rpc> got set to 0 - not sure how :)

changing it to 1 resolved my problem.

I thought the start up script boinc_client_flags="--allow_remote_gui_rpc" would set it to 1, but apparently not.
ID: 97180 · Report as offensive

Message boards : Questions and problems : boinc client binding port 31416 to localhost and not network address, not accessable remotely

Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.