The following command you can use to open a port to if you are getting a connection refused error on specific port number :
iptables -A INPUT -p tcp --dport <Port>2 -j ACCEPT
iptables -A INPUT -p tcp --dport <Port>2 -j ACCEPT
Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC) Getting a full GNOME desktop remotely on Kali Linux can be ...