Skip to content

Commit 60e3406

Browse files
authored
Merge pull request #582 from alexfinnarn/patch-1
Update troubleshooting.md
2 parents bedd93e + e99ec5d commit 60e3406

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

extra/troubleshooting.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ Docker Toolbox is not supported anymore by API Platform. Please upgrade to [Dock
1010

1111
### Error starting userland proxy
1212

13-
If the `app` container cannot start and display this `Error starting userland proxy: Bind for 0.0.0.0:80`, it means that port 80 is already in use.
13+
If the `app` container cannot start and display this `Error starting userland proxy: Bind for 0.0.0.0:80`, it means that port 80 is already in use. You can check to see which processes are currently listening on certain ports.
14+
15+
```bash
16+
# Find out if any service listens on port 80.
17+
# You can use this command on UNIX-based OSes like MacOS and Linux.
18+
sudo lsof -n -i :80 | grep LISTEN
19+
20+
# For Windows, you can use netstat.
21+
# This will give you all TCP/IP network connections and not just processes listening to port 80.
22+
netstat -a -b
23+
```
1424

1525
You can change the port to be used in the `docker-compose.yml` file (default is port 80).
1626

0 commit comments

Comments
 (0)