Node.js–PostgreSQL Microservices Build
Budget: $10 – $30 USD
My microservices are not running in local, can you help me in running it in local . I am getting the below error, providing my code in the git
https://github.com/js08/AI-Ecommerce/tree/main/ecommerce-system
docker-compose up -d
time="2026-03-30T09:06:36-05:00" level=warning msg="Found orphan containers ([ecommerce-system-postgres-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
[+] Running 6/7
✔ Container zookeeper Running 0.0s
✔ Container redis Running 0.0s
✔ Container postgres_inventory Running 0.0s
✔ Container elasticsearch Running 0.0s
- Container postgres_main Starting 0.3s
✔ Container cassandra Started 0.1s
✔ Container kafka Started 0.3s
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5432 -> 0.0.0.0:0: listen tcp4 0.0.0.0:5432: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Stop-Service -Name "postgresql-x64-16" -Force
>>
Stop-Service : Service 'postgresql-x64-16 - PostgreSQL Server 16 (postgresql-x64-16)' cannot be stopped
due to the following error: Cannot open postgresql-x64-16 service on computer '.'.
At line:1 char:1
+ Stop-Service -Name "postgresql-x64-16" -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [S
top-Service], ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.StopServiceCommand
https://github.com/js08/AI-Ecommerce/tree/main/ecommerce-system
docker-compose up -d
time="2026-03-30T09:06:36-05:00" level=warning msg="Found orphan containers ([ecommerce-system-postgres-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
[+] Running 6/7
✔ Container zookeeper Running 0.0s
✔ Container redis Running 0.0s
✔ Container postgres_inventory Running 0.0s
✔ Container elasticsearch Running 0.0s
- Container postgres_main Starting 0.3s
✔ Container cassandra Started 0.1s
✔ Container kafka Started 0.3s
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5432 -> 0.0.0.0:0: listen tcp4 0.0.0.0:5432: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Stop-Service -Name "postgresql-x64-16" -Force
>>
Stop-Service : Service 'postgresql-x64-16 - PostgreSQL Server 16 (postgresql-x64-16)' cannot be stopped
due to the following error: Cannot open postgresql-x64-16 service on computer '.'.
At line:1 char:1
+ Stop-Service -Name "postgresql-x64-16" -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [S
top-Service], ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.StopServiceCommand
Related categories:
JavaScript
Node.js
PostgreSQL
Docker
API
Backend Development
API Development
Microservices