Ubuntu which ports are listening?

2
Alex Simonis asked a question: Ubuntu which ports are listening?
Asked By: Alex Simonis
Date created: Sun, Jun 27, 2021 10:08 AM
Date updated: Thu, Jul 21, 2022 6:35 PM

Content

Top best answers to the question «Ubuntu which ports are listening»

  • We can see that our server is listening for connections on port 80, 3306, and 33060. These are the well known ports associated with HTTP and MySQL. You'll also see that the ss output shows ports 53 and 631 are in a listening state. These are for DNS and Internet Printing Protocol, respectively.
  • Ubuntu has systemd-resolved listening on port 53 by default. In case you want to run your own DNS server, you can't because port 53 is already in use, so you'll get an error similar to this: "listen tcp 0.0.0.0:53: bind: address already in use".

Your Answer