The IP address is the device’s unique signature, and the port is the channel that allows applications and other devices to send you information. Your device may have open ports that allow hackers to access your connection and learn your IP if you are connected to the Internet and running a program.