Files
medusa-store/www/apps/docs/content/troubleshooting/eaddrinuse.md
Shahed Nasser 8c67e32d41 docs: improve admin documentation (#6117)
- Move the admin plugin's options to the Admin Configuration documentation.
- Add a section on how to change the backend URL for both development and production.
- Fix the troubleshooting section related to port forwarding.
- General fixes.
2024-01-22 15:48:33 +00:00

731 B

title
title
EADDRINUSE Error

When you run your backend you may run to an error similar to the following:

code: 'EADDRINUSE',
errno: -48,
syscall: 'Listen',
address: '::',
port: 9000

This means that there's another process running at port 9000. You need to either:

  • Change the default port used by the Medusa backend. You can do that by setting the PORT environment variable to a new port. When you do this, make sure to change the port used in other apps that interact with your Medusa backend, such as in your admin or storefront.
  • Terminate other processes running on port 9000.