I have created the container hosting .NET application in the IIS on post 80. And while creating the container I defined HOST_PORT to 8000 (i.e. 8000:80). Now when I access the Application on the host machine with the URL http://localhost:8000 the IIS accepts the request and redirects it to the default page (i.e. /login) but ..
I have an nginx container running in the host of my Plesk with this docker compose configuration: # docker-compose.yml […] web: build: context: . dockerfile: ./docker/web/DockerFile depends_on: – app ports: – 1080:80 – 10443:443 volumes: – .:/var/www/app restart: always It was ok if I access to the host using the specific port: https://example.com:10443 But I ..
From the Docker documentation: –publish or -p flag. Publish a container’s port(s) to the host. –expose. Expose a port or a range of ports. –link. Add link to another container. Is a legacy feature of Docker. It may eventually be removed. I am using docker-compose with several networks. I do not want to publish any ..
OS: Ubuntu 20.04 LTS tried this (minimal way to reproduce), previous day it works normally: docker run –name nginx1 -p 8089:80 -d nginx:alpine works normally: docker ps CONTAINER ID IMAGE COMMAND CREATED 74faabf44b8e nginx:alpine "/docker-entrypoint.…" 5 minutes ago STATUS PORTS NAMES Up 5 minutes 0.0.0.0:8089->80/tcp, :::8089->80/tcp nginx1 curl inside docker works: docker exec -it 74faabf44b8e ..
First of all, please understand that I can’t speak English. I tried many times for port forwarding. But, return message is connection refused. For example, 1. Run my container. 2. Check installed Django 3. Edit ALLOWED_HOSTS 4. Django run server 5. Connection test in container (connected with exec from other terminal 6. Test local browser, ..
I am new to Docker world. I am trying to host a WordPress site on my RaspberryPi with help of Docker. I am able to run the site successfull from my LAN network. However, the site is not working from Internet (I did port forwarding on my ISP router) To test my portforwarding, I created ..
I have a docker container where the port mapping doesn’t work anymore. On the host: 3b0d28970e58 docker.software-univention.de/zammad-zammad-nginx:3.6.0-42 "/docker-entrypoint.…" 24 minutes ago Up 3 minutes 0.0.0.0:40001->80/tcp zammad_zammad-nginx_1 curl http://127.0.0.1:40001 curl: (56) Recv failure: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt curl http://172.16.0.249:40001 curl: (7) Failed to connect to 172.16.0.249 port 40001: Keine Route zum Zielrechner ping 172.16.0.249 ..
Summary: I have a docker container which is running kubectl port-forward, forwarding the port (5432) of a postgres service running as a k8s service to a local port (2223). In the Dockerfile, I have exposed the relevant port 2223. Then I ran the container by publishing the said port (-p 2223:2223) Now when I am ..
When I connect from my PC from my network to my local Ubuntu 20 server with docker sail mysql container on 192.168.114:3306 connection establishes. But when I connect to my external ip 188.8.131.52:3306 that is port forwarded to 192.168.114:3306 connection is refused(SQLSTATE[HY000]  Connection refused). I don’t use UFW on my Ubuntu 20 server. My ..
I am running a Wireguard server from a VPS provider. What I want to achieve is to be able to route specific internet traffic (ports 10000:11000 are set to accept traffic from the VPS firewall) from VPN to my Docker containers at home server. [Internet] <-> [Wireguard 10.100.0.1] <-> [Home Server 10.100.0.2 (Docker Containers)] Details: ..