Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFO core_server::router: Starting server at http://0.0.0.0:3000 #3

Open
t4trust opened this issue Feb 9, 2025 · 1 comment
Open

Comments

@t4trust
Copy link

t4trust commented Feb 9, 2025

Failed to bind to address: 0s { code: 10048, kind: AddrInUse, message: "Only one usage of each socket address (protocol/network address/port) is normally permitted." }

Is the below config needs to be updated
coreBaseUrl: "http://0.0.0.0:3000"
serverIp: "0.0.0.0"

@svenstucki-pcv
Copy link
Member

Hey @t4trust,

Yes, the error happens because you are already using port 3000 on your system for something else.

You can either close the other application or change the port.

To change the port, just replace 3000 with your desired port in serverPort and coreBaseUrl. As a sidenote for the latter, the base URL should reflect how other agents (such as wallets) can reach your core instance. In a productive deployment you would replace this with your domain - but careful, it can cause problems if you change this setting later on (without also resetting the DB).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants