Khi tôi nhập netstat
lệnh trong terminal, tôi nhận được danh sách sau.
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 1 0 localhost:35543 Feddy:http CLOSE_WAIT
tcp 0 0 Feddy:42505 tb-in-f125.1e10:xmpp-client ESTABLISHED
tcp 0 0 Feddy:34534 maa03s05-in-f5.1e100.:https ESTABLISHED
tcp 0 0 localhost:mysql localhost:33292 TIME_WAIT
tcp 0 0 Feddy:55558 stackoverflow.com:http ESTABLISHED
tcp 0 0 Feddy:58290 stackoverflow.com:http ESTABLISHED
tcp 0 0 localhost:mysql localhost:33291 TIME_WAIT
tcp 0 0 Feddy:58279 stackoverflow.com:http ESTABLISHED
tcp 0 0 Feddy:42496 tb-in-f125.1e10:xmpp-client ESTABLISHED
tcp 0 0 Feddy:36830 a96-17-182-73.deploy.a:http ESTABLISHED
udp 0 0 Feddy:39379 192.168.6.1:nat-pmp ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 8377 /run/systemd/notify
unix 2 [ ] DGRAM 7908 /run/systemd/shutdownd
unix 30 [ ] DGRAM 7922 /dev/log
unix 3 [ ] STREAM CONNECTED 22732
unix 3 [ ] STREAM CONNECTED 608830 @/tmp/dbus-4HbiJa7bKU
unix 2 [ ] DGRAM 90425
unix 3 [ ] STREAM CONNECTED 18947
unix 3 [ ] STREAM CONNECTED 25740
unix 3 [ ] STREAM CONNECTED 23327 @/tmp/dbus-4HbiJa7bKU
unix 3 [ ] STREAM CONNECTED 24162
unix 3 [ ] STREAM CONNECTED 23714
unix 3 [ ] STREAM CONNECTED 22566
unix 3 [ ] STREAM CONNECTED 675499 @/tmp/.ICE-unix/1667
unix 3 [ ] STREAM CONNECTED 91140
unix 3 [ ] STREAM CONNECTED 23601
unix 2 [ ] DGRAM 148102
unix 3 [ ] STREAM CONNECTED 90614
Nhưng tôi không thấy tất cả các cổng mở. Ví dụ: tôi có xampp
máy chủ đang chạy ở cổng số 80 , máy chủ oenfire chạy ở cổng số 9090 . Những cổng đó ở đâu?