How to authorize Plex server on Synology NAS

@crishtal said:
Hi Guys.

Quite desperate here as when creating SSH tunnel, I get the following message:
channel_setup_fwd_listener_tcpip: cannot listen to port: 8888
Could not request local forwarding.

I access synology via SSH via macOS terminal and type “ssh 5.5.5.3 -L 8888:localhost:32400”. Tried also “ssh -l admin -L 8888:localhost:32400 5.5.5.3”.

It seems unless I overcome this and setup up the SSH tunneling, I cannot authorize the plex server and get it listed on synology web interface => recognized by other devices.

Many thanks in advance for your help!

The command, as you’ve typed it, is out of sequence. Also, it leaves the remote host reference susceptible to IPv4 / IPv6 flipflop

Therefore, it is recommended ssh -l admin -L 8888:127.0.0.1:32400 ip.addr.of.syno (options before remote IP address) This makes certain to call out IPv4 on the remote and guarantees the default loopback adapter on all hosts.