What is a public IP?
A public IP address is a unique number that is assigned to a device when it connects to the internet. It is used to identify the device and allow other devices on the internet to communicate with it.
When you connect to the internet through a router, the router is assigned a public IP address, and all the devices connected to that router share the same public IP address. However, each device also has a unique private IP address that is only used within the local network.