Connect esp to port-forwarded server form external network

So set up dns for it then. www.ddns.net. Also check if u have opened HW ports.