[Answered ]-How to fix error when sending mail with django in docker container? (Cannot assign requested address)

1👍

OSError: [Errno 99] Cannot assign requested address this means the provide ip/port is already taken.Change your ip/port and try again

find docker-compose.yml

version: '3.8'
services:
  web:
    build: .
    restart: unless-stopped
    ports: ['192.107.1.2:8000:8000'] # <-- change IP and port here
  

Try this

Leave a comment