Skip to content

Commit 01011ab

Browse files
committed
Add a link to the network settings to features/networking ports guide
1 parent a9042ad commit 01011ab

File tree

1 file changed

+1
-1
lines changed
  • content/manuals/desktop/features/networking

1 file changed

+1
-1
lines changed

content/manuals/desktop/features/networking/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For example, with `docker run -p 80:80 nginx`:
6161
- Inside the VM, the connection is routed to the container’s internal IP address and port, for example `172.17.0.2:80`.
6262
- The container responds through the same path, so you can access it from your host just like any other local service.
6363

64-
By default, `docker run -p` listens on all network interfaces (`0.0.0.0`), but you can restrict it to a specific address, such as `127.0.0.1` (localhost) or a particular network adapter.
64+
By default, `docker run -p` listens on all network interfaces (`0.0.0.0`), but you can restrict it to a specific address, such as `127.0.0.1` (localhost) or a particular network adapter. This behavior can be modified to bind to localhost by default in [Docker Desktop's network settings](/manuals/desktop/settings-and-maintenance/settings.md#network)
6565

6666
Host firewalls can permit or deny inbound connections by filtering on `com.docker.backend`.
6767

0 commit comments

Comments
 (0)