DEV Community

Discussion on: Run GUI app in linux docker container on windows host

Collapse
 
chris2048 profile image
Chris2048

I notice that windows firewall can block the connection to the container.

You can allow this access via firewall settings for "VcXsrv windows xserver".

Also, if you only want to give your xserver private network access, you can use:

Set-NetConnectionProfile -interfacealias "vEthernet (DockerNAT)" -NetworkCategory Private

src

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Hey Chris thanks for making me aware of this!
The PowerShell command can come in handy, thanks 😊