m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
7.31k stars 535 forks source link

"Ports are not available: exposing port UDP ... forbidden by its access permissions." (can't start neko with Quick Start) #435

Open Daoet opened 1 day ago

Daoet commented 1 day ago

I can't start neko going through the Quick Start guide.

Using the commands docker compose up -d or docker compose up or starting it in Docker Desktop, I get output similar to this:

in Docker Desktop

`Cannot start Docker Compose application. Reason: compose [start] exit status 1. Container 1bu-neko-1 Starting Error response from daemon: Ports are not available: exposing port UDP 0.0.0.0:52009 -> 0.0.0.0:0: listen udp 0.0.0.0:52009: bind: An attempt was made to access a socket in a way forbidden by its access permissions.`

docker compose up -d

D:\1bu>docker compose up -d
time="2024-10-19T15:49:45+02:00" level=warning msg="D:\\1bu\\docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Running 0/0
 - Container 1bu-neko-1  Starting                                                                                                                                                      0.0s
Error response from daemon: Ports are not available: exposing port UDP 0.0.0.0:52032 -> 0.0.0.0:0: listen udp 0.0.0.0:52032: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

some other info:

Can someone help me out?

m1k1o commented 1 day ago

Neko was created and tested on linux (debian based distros) therefore I cannot help you with Windows.

If udp is not working on Windows just try to expose tcp port of TCPMUX. It is not solving the issue, but rather that workaround if UDP ports are the issue.