ubuntu:networking:ports:port_already_in_use
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:networking:ports:port_already_in_use [2021/02/05 14:26] – created peter | ubuntu:networking:ports:port_already_in_use [2021/02/05 14:36] (current) – peter | ||
---|---|---|---|
Line 14: | Line 14: | ||
systemd-r 1019 systemd-resolve | systemd-r 1019 systemd-resolve | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 24: | Line 29: | ||
<code bash> | <code bash> | ||
- | Netid | + | Netid State Recv-Q |
- | udp | + | udp UNCONN |
- | tcp | + | tcp LISTEN |
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Disable any service that is running on this port ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl stop systemd-resolved | ||
+ | sudo systemctl disable systemd-resolved | ||
+ | sudo systemctl mask systemd-resolved | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | To undo what you did: | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl unmask systemd-resolved | ||
+ | sudo systemctl enable systemd-resolved | ||
+ | sudo systemctl start systemd-resolved | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl defaults systemd-resolved | ||
+ | </ | ||
+ | |||
+ | </ | ||
ubuntu/networking/ports/port_already_in_use.1612535219.txt.gz · Last modified: 2021/02/05 14:26 by peter