79488269

Date: 2025-03-06 04:30:10
Score: 1.5
Natty:
Report link

the best way is by using "host.docker.internal" instead of localhost curl -i -X POST http://localhost:8001/services
--data "name=equipments_service"
--data "url=http://host.docker.internal:800X" # Replace with your actual backend URL

and make sure to allow the host(host.docker.internal) by adding ALLOWED_HOSTS = ["localhost", "127.0.0.1", "0.0.0.0", "equipments_service","192.168.60.136","host.docker.internal"]

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: thamerkth