Connect via IP(v6) and Port

Tried that, didn’t work, probably because it was the wrong port. Still need to know how to get the port used by the session. And it also doesn’t work with IPv6.