ERPNext access by wan problem

Yes best confirm the expected port(s) are open, using a network tool like nc or telnet.

Ensure your firmware is current or perhaps even flash with openwrt

after you switched routers, what did you see?

Thanks for everyone . It was stupid router type issue .
I bought a D-LINK router and it’s working like a charm right now .
Thank you