Hello,
I am using docker compose to tie together a couple of services, but I can’t seem to get port forwarding to work. This is a .NET Core webapi.
Here’s my docker-compose.yml:
version: '3.8'
networks:
extract-core:
name: extract-core
driver: bridge
services:
extract-api:
container_name: extract-api
build: Extract/
restart: always
networks:
- extract-core
ports:
- "5110:5110"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5110
Whenever I try to access ‘http://localhost:5110’ on my local host (using curl for example), I get:
curl: (52) Empty reply from server
Am I missing something ?