Same port of uvicorn
kadnan opened this issue · 3 comments
kadnan commented
So both services are running on uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
?
paurakhsharma commented
Yes, they are but remember they are in a different container,
hence they can both run on the same port.
kadnan commented
I know that part but what if one wants to access Service A and Service B, what IP and Port will they get for both?
kadnan commented
nvm I noticed different forwarded ports: - 8001:8000