Hmmm.. that is very strange. We will need to reproduce this in our labs using Tailscale.
In LAN the direct connection should always work without any problems. I have never had any problem with direct connection in LAN.
Is there a problem when you set the same ports on Android and PC server?
They work on Android, I use it at home. I need to set a port on Android and then port forward it on my router to connect to our lab. Without setting this port (in this case I use the default 42015) I cannot connect. So it must work. Setting this in local network should not matter. It is intended for port forwarding to allow Direct Connection between networks where routers have firewalls.
Are you connecting from 2 different networks? Port forwarding has no sense in the same network.
We will figure it out. But it must work as I use it everyday.
My setup is as follows:
HOME: 1 Router with firewall connected (cable docsis). On this router I have port forwarded 42015 to my Android device with 192.168.10.102 IP.
On the Android app I set the port to 42015 (without it it will not work).
MIRILLIS LAB1: Several routers connected in cascade before reaching Nvidia RTX PC. On the PC I do not force any ports.
Maybe there is more than one and Remotly is not using the one it should.
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : Realtek PCIe GbE Family Controller
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::48fb:1234:ec86:5b8f%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.31.102(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 2023. július 2., vasárnap 1:17:14
Lease Expires . . . . . . . . . . : 2023. július 2., vasárnap 3:17:08
Default Gateway . . . . . . . . . : 192.168.31.1
DHCP Server . . . . . . . . . . . : 192.168.31.1
DHCPv6 IAID . . . . . . . . . . . : 313302551
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-48-C3-F4-AC-9E-17-4D-60-4B
DNS Servers . . . . . . . . . . . : 192.168.31.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::64e0:4ad9:2714:554f%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.26.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 83906646
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-48-C3-F4-AC-9E-17-4D-60-4B
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b47c:d671:1610:21ea%2(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.208.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 134238294
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-20-48-C3-F4-AC-9E-17-4D-60-4B
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled