ubuntu:networking:ports:port_already_in_use
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:networking:ports:port_already_in_use [2021/02/05 14:29] – 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 28: | Line 33: | ||
tcp LISTEN | 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.1612535363.txt.gz · Last modified: 2021/02/05 14:29 by peter