Whether different IP on the same port belongs to port occupancy

such as
192.168.0.1 br 1234
and < 192.168.1.1

Note:
192.168.0.1 is the IP address of the network device eth0
192.168.1.1 is the IP address of the network device eth1

Nov.03,2021

belongs to, but only one ip can be opened on a computer.


does not belong to. A network card can also assign multiple IP,. Each IP has its own port correspondence. For example, you have an ip: 192.168.1.1

.

but at the same time you must have a loopback ip 127.0.0.1. If a program listens on port 1234 of 127.0.0.1, then port 192.168.1.1 1234 is still not occupied.

such as

using 4 terminal windows and using nc to monitor the same ports of two ip (192.168.1.13 and 127.0.0.1) of this machine, you can establish different links at the same time without interfering with each other.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b79f-2c2a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b79f-2c2a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?