Skip to content

Instantly share code, notes, and snippets.

@Bazsmagister
Created November 20, 2024 10:58
Show Gist options
  • Save Bazsmagister/21eed1b1fed3c0920220a434ff423142 to your computer and use it in GitHub Desktop.
Save Bazsmagister/21eed1b1fed3c0920220a434ff423142 to your computer and use it in GitHub Desktop.
IPv6 address shorthand
8000/tcp -> [::]:8000 what does '[::]' mean?
The notation [::] is an IPv6 address shorthand representing the unspecified address, also known as "all zeroes" address. When you see 8000/tcp -> [::]:8000, it means that the service is listening on all IPv6 addresses ([::]) on port 8000.
Explanation
IPv6 Address: :: is the shorthand for the IPv6 address 0:0:0:0:0:0:0:0, which essentially means "listen on all available network interfaces".
Port: 8000 indicates the port number on which the service is listening.
In the context of your output:
8000/tcp indicates that the service is using TCP protocol on port 8000.
[::]:8000 means that the service is bound to port 8000 on all IPv6 addresses.
This is similar to 0.0.0.0 in IPv4, which means the service is listening on all IPv4 addresses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment