Client Port used, v 7.6.21 [FAHControl Remote Connect]

Moderators: Site Moderators, FAHC Science Team

Post Reply
BrianJB
Posts: 6
Joined: Wed Dec 23, 2020 8:12 pm

Client Port used, v 7.6.21 [FAHControl Remote Connect]

Post by BrianJB »

How can I tell what port a remote client is using to set up remote control from my main PC? I tried sticking with the default 36330, I have the proper client IP address, but the remote control on the main PC indicates only that it is "connecting" and the remote client is shown as inactive - but it is folding. I tried running netstat -tulpn on the client. The only indication I got was that the port 36330 was in LISTEN state, no PID or program name, I don't see the client app listed anywhere there, or if I just run netstat by itself. Thanks.

Main PC W10pro
Client Ubuntu 20.04
Joe_H
Site Admin
Posts: 7938
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Client Port used, folding v 7.6.21

Post by Joe_H »

Have you restarted the FAHClient process after setting up the connection parameters such as password, etc.? That is necessary to get the client to do connections between the main FAHControl and remote clients.

Easiest way to restart FAHClient is through a reboot. Otherwise pause folding and stop and restart FAHClient.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
BrianJB
Posts: 6
Joined: Wed Dec 23, 2020 8:12 pm

Re: Client Port used, folding v 7.6.21

Post by BrianJB »

Thanks for the reply. I did restart, even powered down both systems after the modifications. The control sees the client as inactive. The IP address is correct - I viewed it on the gateway and set both systems to static addresses. I tried with and without passwords. I'm obviously missing something. I'l keep looking.
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Client Port used, folding v 7.6.21

Post by PantherX »

Welcome to the F@H Forum BrianJB

If you want, you can have a look at post "9 - Generic Troubleshooting Tips" in this thread (viewtopic.php?f=108&t=26036) which has the most common reasons to help you troubleshoot :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Client Port used, folding v 7.6.21

Post by bruce »

Either you have to match the password on both systems (in Configure+Connection+ and in Configure+Clients+[select] or +Add) or you have to configure the client for passwordless connections from your LAN in Configure+Remote_Access+Passwordless+aLLOW. ... as 127.0.0.1,192.168.0.0/24 or whatever your LAN actually uses). (and restart after making changes.)
BrianJB
Posts: 6
Joined: Wed Dec 23, 2020 8:12 pm

Re: Client Port used, folding v 7.6.21

Post by BrianJB »

If I add a remote client to FAHcontrol on my main W10 PC and select "configure", I only have the connection tab, no others including the remote access tab.
Last edited by BrianJB on Thu Jan 14, 2021 1:23 am, edited 4 times in total.
BrianJB
Posts: 6
Joined: Wed Dec 23, 2020 8:12 pm

Re: Client Port used, folding v 7.6.21

Post by BrianJB »

I tried a mod of the config.xml on the client. Here are the lines I tried, not sure if they're correct or not, but I rebooted and still cannot connect.

<allow v="127.0.0.1 192.168.1.11"/>

<allow-no-pass v="192.168.1.11"/>
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Client Port used, folding v 7.6.21

Post by bruce »

BrianJB wrote:If I add a remote client to FAHcontrol on my main W10 PC and select "configure", I only have the connection tab, no others including the remote access tab.
The remote client, itself can be configured with a password set in the configure + Remote_access screen tab and if you do, it must match the password entered twice when you add that connection to the Clients list on the left side of the local machine's monitoring screen. Then both machines should be restarted.

if you want to make the connection without passwords, the allow and allow-no-pass settings can be used.

Since the data will only traverce your local network, these security features are not particularly important except that connections must be allowed.
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Client Port used, folding v 7.6.21

Post by PantherX »

Since you have 192.168.1.11 in both lists, it might be confusing for the client. Maybe remove it from "allow" if you would like to have passwordless access to it and see what happens after a reboot.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Joe_H
Site Admin
Posts: 7938
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Client Port used, folding v 7.6.21

Post by Joe_H »

Linus Tech Tips did a write up on how to configure for using FAHControl remotely here - https://linustechtips.com/topic/990176- ... ahcontrol/. Perhaps that will give you some ideas for things to check in the setup.

There have been some posts here on this as well, just don't have a link to a good one at the moment. Will modify your subject a bit so it might attract people more familiar with setup problems for remote monitoring and control of client using FAHControl.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply