'How to connect public ip to lan ip

I am trying to host a simple node js app on the internet.I set it on localhost:8080 and proxied it to nginx port 80 on my LAN ip.The question is how do i access it througt my WAN ip.I tried to port forward but it doesnt work, if anyone has any resource please share it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source