PHT uses an IP from the tun0 VPN interface, rather than the default interface eth0 static ip I have assigned. It breaks http api communication, unsurprisingly. I know that this is expected behavior, as if you have a vpn connection enabled you probably want newly opened applications to use it.
My way around it at the moment is dropping the VPN connection, starting PHT, and re-enabling the VPN (and then never closing PHT, just doing backslash to minimize), but I was wondering if anyone knew of a potential solution to this? Somehow make PHT choose eth0, or force it to use a specific local ip?