- Open your console
- Type
curl -4 icanhazip.com
- Press
Enter
- It will give you your public IPv4 address
- This will be the IPv4 address you need, when people from outside your local network, needs to connect to your server.
- Use a guide like this.
curl -4 icanhazip.com
Enter