Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Win32Exception: No connection could be made because the target machine actively refused it. and SqlException: Login failed for user 'SA' [duplicate]

I’m trying to run an ASP.NET project on Microsoft Visual Studio, but I get this error every time I run the project and try to sign up on the web. Before this, I used Docker and Azure Studio for the ...
amr khaled's user avatar
2 votes
2 answers
63 views

Can't Access GCP Docker container

services: demoapi: container_name: demoapi image: demoapi:latest volumes: - ./demoapi:/app/demoapi environment: - TZ=Asia/Taipei ports: - "8090:8090" ...
WilliamChen's user avatar
0 votes
1 answer
59 views

Why requests to the forwarded docker port are not blocked despite firewall blocking the port?

I'm trying to set up a simple web application in a docker container with a nginx reverse proxy (not in a container, on the host). Here is how I run the container: docker run -d --name mywebapp -v /...
g00dds's user avatar
  • 327
0 votes
0 answers
39 views

Connection timeout while connecting to smtp with spring boot starter email in docker

I am using spring-boot-starter-mail to send emails and also I am deploying my spring boot application with docker I am unable to connect smtp server on any port with docker, while with host I am able ...
Vinay Khatri's user avatar
0 votes
0 answers
33 views

EdgeDB stopped working after installing Docker Desktop - Windows 11

I installed WSL on Windows 11. I got it working by following the advice here: Firewall blocking WSL 2 In particular, this resolved the issue I was able to fully resolve this issue of Norton 360 ...
rao_saheb's user avatar
0 votes
0 answers
17 views

Trying to whitelist `DOCKER-USER` ports but it blocks containers from resolving DNS

I have some containers that are bound to the host but I don't want them to be exposed to internet except HTTP ones. So I do: sudo iptables -F DOCKER-USER sudo iptables -I DOCKER-USER -i ens3 -p tcp -m ...
Thomas Ramé's user avatar
0 votes
0 answers
23 views

Rejected ports within `DOCKER-USER` are still visible from nmap as "filtered"

by default Docker will adjust iptables according to containers bound to the host... but in my case I don't want to have all exposed to internet. What I'm doing is modifying the chain DOCKER-USER so it ...
Thomas Ramé's user avatar
0 votes
0 answers
28 views

How to set SSL CA for Docker Desktop in Windows

I am trying to set up Docker Desktop in my Windows PC. The company firewall is intervening the network connections, thus docker server is rejecting my connection. PS C:\Users\maldemir001> docker ...
MstfLux's user avatar
2 votes
1 answer
443 views

Failed to start the container when testing the shinyproxy-demo

I'm new to shinyproxy so I'm going to start learning from the wizard https://www.shinyproxy.io/documentation/ I followed every instruction in it all, I managed to access localhost:8080 however, I can'...
toxin's user avatar
  • 141
1 vote
1 answer
190 views

Unable to Access Azure VM behind Firewall after installing Docker

I have an Azure Ubuntu 20.04 VM behind Firewall. I was able to access the VM via SSH until I started installing Docker. When I was mid-way through, the installation stopped and I lost connectivity to ...
Abhishek kumar Jha's user avatar
2 votes
1 answer
542 views

Docker: no processes, no containers, for every port: “bind: address already in use”

I get the docker: Error response from daemon: driver failed programming external connectivity on endpoint beautiful_jang (..): Error starting userland proxy: listen tcp [::]:53007: bind: address ...
docker-help-pls-173's user avatar
2 votes
2 answers
3k views

How to resolve iptables error "Couldn't load match 'conntrack'" in docker container?

I have a Windows 10 host with Docker running. Inside Docker I run two Rust container. I would like to set up a Firewall inside one of them. The Compose File: version: '3' services: outer-endpoint: ...
max23's user avatar
  • 21
1 vote
0 answers
729 views

Caddy Server - HTTPS Request from local machine timesout

I've been using Caddy for ages but I am setting up a domain on a new network and am having issues. I have a domain pointed at Caddy and letsencrypt works, I can access my docker containers, I can ...
Schmorrison's user avatar
0 votes
0 answers
119 views

Can't connect to host machine to any port from docker container linux

i can't connect to my localhost mongodb from docker container. I can get page nginx if run curl 172.17.0.1 or (host.docker.internal) inside docker container, but if i try use another port curl not ...
Eugene's user avatar
  • 1
0 votes
1 answer
368 views

Unable to append rules in iptable in docker

I am trying to add a rule which looks like: Chain DOCKER (2 references) target prot opt source destination ACCEPT tcp -- anywhere 172.18.0.8 tcp dpt:21102 ...
Wajih Haider's user avatar
1 vote
0 answers
132 views

what url should I authorize to use R docker image behind a firewall?

We have a server and we want to use rocker/tidyverse docker images for R, that is behind a company firewall. I want to make a firewall exception for specific URL/domains. e.g. 1] cloud.r-project.org 2]...
alif shaikh's user avatar
1 vote
0 answers
109 views

Block pip inside Docker - Windows Server

I'm building a Docker container that have python and import some packages using 'pip install'. I want to allow 'pip' to communicate only with pypi.org, and block it from communicating with any other ...
Blumy's user avatar
  • 71
0 votes
0 answers
87 views

Signal Proxy in GCP VM does not listen on port 80

I wanted to install a Signal proxy on Ubuntu VM in GCP. I used the following: https://github.com/gabyx/IranAProxy ./create-vm.sh which creates the VM with a static global ip and http and https ...
Gabriel's user avatar
  • 9,404
1 vote
1 answer
8k views

MacOS iptables equivalent [closed]

I recently switched from Linux to Mac. My symfony application runs in a docker-compose setup and has a socks5 proxy, I want to tunnel an ssh connection to. SYMFONY_APP_PROXY=socks5h://172.17.0.1:8086 ...
davchs's user avatar
  • 43
0 votes
1 answer
853 views

Unable to communicate from one Docker container to an exposed container on the same machine

Currently I'm trying to make one container communicate with another one that is exposed and running on the same machine. Lets say the external IP address is 123.123.123.123 and I exposed a basic NGINX ...
Maarten de Graaf's user avatar
1 vote
0 answers
1k views

Ubuntu: using docker with snap and firewall is a problem

On a ubuntu 21.10, using docker as a snap (snap install docker). With my firewall enabled, i have a problem resolving DNS: $ docker run bash ping www.google.com ==> error $ docker run bash ping 8....
jehon's user avatar
  • 1,618
0 votes
0 answers
5k views

docker, container ports and iptables

I have inserted an iptables rule to block access to my containers from the internet (according to the official docker docs), but now my containers cannot access the internet either. I run a container ...
Ant Kutschera's user avatar
0 votes
1 answer
47 views

Access dockerized Nginx

I have a react app dockerized along with Nginx ### First Stage ### FROM node:alpine AS builder WORKDIR /usr/src/app COPY ./package.json ./ COPY ./yarn.lock ./ RUN yarn install COPY . . RUN yarn ...
Saeid's user avatar
  • 83
3 votes
1 answer
1k views

Connecting to host from inside a docker container on linux requires opening firewall port

Background: I'm trying to have XDebug connect to my IDE from within a docker container (my php app is running inside a container on my development machine). On my Macbook, it has no issue doing this. ...
BAB's user avatar
  • 33
0 votes
2 answers
254 views

Unable to reach my application from outside Docker container but everything works inside the container

I'm trying to run Rhino Compute in a docker container and facing a weird issue. I had built an image using the Dockerfile below and when I run it locally, there are no issues. # escape=` # see https:/...
noobanyway's user avatar
1 vote
0 answers
709 views

Linux containers: command to temporarily block local port?

From within a container, I'm trying to temporarily block access to a port in the same network. For example: services: cli: image: node:latest-alpine redis: image: redis:latest-alpine ...
labega's user avatar
  • 25
0 votes
1 answer
388 views

Docker blocks incoming connections [duplicate]

I have deployed a simple Flask server in a docker container. The app accepts connections on port 7005 and I have exposed the port 7005 on docker. I can see the docker is actively blocking connections ...
vettipayyan's user avatar
  • 3,278
0 votes
1 answer
1k views

Configure wiki.js(open source) on AWS EC2 instance

I've deployed wiki.js on AWS EC2 instance using docker. With installation Command as follows : docker run -d -p 8080:3000 --name wiki --restart unless-stopped -e "DB_TYPE=mysql" -e "...
nidhi_007's user avatar
5 votes
1 answer
5k views

Docker: limit outgoing connections to the localhost only, while allowing all incoming connections

Some programs in my docker container are making unwanted requests to e.g. Google Analytics and other tracking software, sharing my information. I want to block all this traffic, while still being able ...
Mark's user avatar
  • 161
0 votes
1 answer
739 views

Change port number of docker service exposed publicly in jelastic [closed]

I want to provide a custom sftp service on port 22 using the jelastic cloud platform. The sftp service is implemented as a docker container running on a jelastic docker host. The issue is that the ...
kurt-hectic's user avatar
3 votes
2 answers
3k views

How to connect to a web application inside a container in a Virtual Machine, from outside it?

I have a setup that is: PC > Fedora(Hyper-V VM) > Container running web application The problem that i am facing is that i can not connect to the web app from my PC ( PC > Container web app) ...
Gabriel Jefferson's user avatar
0 votes
1 answer
701 views

VPN server can't access itself externally

I'm using softether VPN on docker, through a Google cloud ubuntu machine. When I connect in my computer to its client and get my external IP, I get the VPN's IP, therefore Google cloud machine's IP. ...
Idan's user avatar
  • 153
3 votes
1 answer
829 views

Unable to access Eureka dashboard inside a docker container

I am setting up a docker container test environment of a Spring Cloud Config Server and Eureka Discovery Service to a server running Oracle Linux 8. Before anything else, I added the following port ...
Rye's user avatar
  • 485
10 votes
1 answer
5k views

How to configure firewalld with docker 20.10 [closed]

I realized that recently docker add integration with firewalld and I just want to setup my server using firewalld instead of iptables boring rules and chains. This is my docker zone output: root@test:...
Masoud Tavakkoli's user avatar
0 votes
1 answer
185 views

Why am I able to access my webapp publicly even when blocking the port in my Linode?

I have a Linode setup and I've setup UFW to block ports, particularly 8080. I've reloaded the firewall and I'm still able to access the webapp through the web. UFW: Status: active To ...
Dan's user avatar
  • 63
0 votes
0 answers
341 views

Can't reach docker container from the internet when using host network

I tried to set up different containers using the --network host setting and could not connect to any of them. The debian and docker installations are as unmodified as it gets. Using the bridge network ...
Nimmand's user avatar
  • 21
0 votes
0 answers
54 views

Restrict public access to one of the applications running on a host server using apache reverse proxy

I have a web application (open Source CKAN) using docker which is running on a public server. the application is available and publicly reachable using http://ip-address:5000. On the same server, ...
Mani Mosh's user avatar
1 vote
0 answers
228 views

Docker container on EC2 instance not accessible on specified port

I'm trying to run an application in Docker on an EC2 instance. It is two separate processes. I'm able to access the ports for process 1, but not process 2. Process 1 listens on the following ports: ...
Jack BeNimble's user avatar
1 vote
1 answer
2k views

Ubuntu - firewall rules MySQL on host | Docker containers to host

Is there any possible way to setup the host firewall to allow connections only for the network Docker containers uses? Intro The only way I was able to connect to a OS hosted MySQL instance from my ...
CvRChameleon's user avatar
0 votes
1 answer
159 views

docker - connection refused on android host

installing and running docker on Android and sudo docker version reports that the client and server are available. Attempting to run any other meaningful command (e.g. hello-world, pull, push, build) ...
Azzurro94's user avatar
  • 499
1 vote
2 answers
742 views

Centos docker proxy port - firewall

I have some project which I run with docker-compose up. This project has frontend on port 4200, backend 3000 and db 5342. When I run it with docker-compose, all these ports are public. So I can (...
Loutocký's user avatar
  • 832
0 votes
0 answers
168 views

Docker limitations with iptables

I developed a kind of firewall application which dynamically manipulates iptables (creation, modification, deletion of chains, ROUTING, NATs ...). People ask me if the application is available in ...
benoit974's user avatar
3 votes
1 answer
2k views

In Jupyter docker , cannot connect to kernel

When installing Jupyter docker, for example this one : docker run -d \ --hostname jupyterhub-ds \ --log-opt max-size=50m \ -p 8000:8000 \ -p 5006:5006 \ -e DOCKER_USER=$(id -un) \ ...
tensor's user avatar
  • 3,320
0 votes
0 answers
225 views

Cannot access docker container from docker host

Situation I am running a Debian based docker host server machine with docker containers. The containers are configured using a defined docker network and have assigned a static ip address. I want to ...
Hendrik Hötker's user avatar
1 vote
0 answers
633 views

How to block access to a specific port on docker

I have a docker container which exposes a RESTful API on a specific port (e.g. 4567) on a host machine. According to security requirements, I need to block all requests coming to this port (i.e. 4567) ...
HHH's user avatar
  • 6,425
6 votes
3 answers
9k views

How to use Fail2ban under Kubernetes? [closed]

Until now I'm using Docker for a hand-made hosting solution on single-VPCs, with fail2ban installed on host and watching at Docker logs from Nginx containers (Each server can host multiple websites, ...
Bazalt's user avatar
  • 69
5 votes
2 answers
11k views

Connecting to a Remote Docker Daemon

I have installed VirtualBox and installed Ubuntu server version in VirtualBox VM. My host machine is Windows 10. I have also installed Docker in my host Windows box. My intention is to use the docker ...
SRaj's user avatar
  • 1,328
0 votes
1 answer
83 views

Connection to sql server is not possible

Trying to connect to a sql Server fails. Port does not seem to be reachable. docker container ... 0.0.0.0:15106->3306/tcp SQL is running on 3306. In the Docker Container: state Recv-Q Send-...
Timon Mi's user avatar
3 votes
1 answer
3k views

Allowing some IPs in DOCKER-USER chain for inbound traffic, rejecting all the rest

I'm trying to allow only certain IP addresses to access ports exposed by docker containers on the host. All the rest external IPs should not be able to access them (even if I expose a port on 0.0.0.0)....
vitalikaz's user avatar
  • 568
1 vote
1 answer
5k views

PostgreSQL not creating tables when running on docker

I am trying to run PostgreSQL on a linux container docker in my Windows server, but when I run it, it creates database, but there is no table and no data in it, while it should create all tables and ...
TimeFrame's user avatar
  • 403