Your public IP address is:
When people from outside your LAN connect to you, they must use this address. It will only work right if you are not behind a firewall, NAT or anything else preventing the connection from reaching your computer.