Web interface is not connecting due to port issue

Welcome to the forum @soottikkal.

Is port 39506 in the “ephemeral ports” range of the server?

cat /proc/sys/net/ipv4/ip_local_port_range

What is the output of the command

sudo ss -anp | grep 39506 | sed 's/\s\+/ /g'