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

I ran into an OS Error [WinError 10048] #400

Closed
ghost opened this issue Sep 25, 2023 · 2 comments
Closed

I ran into an OS Error [WinError 10048] #400

ghost opened this issue Sep 25, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 25, 2023

OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted
What do I do?

@henk717
Copy link
Collaborator

henk717 commented Sep 25, 2023

This happens if another process is already running on port 5000, this is commonly people who have another copy of KoboldAI open.
If you are following one of those terrible guides that tell you to run the KoboldAI (Remote) shortcut after loading a model this would be why.

So couple of steps to check:

  1. When KoboldAI is not open visit http://localhost:5000 in your browser to see if anything pops up.
  2. Open KoboldAI in the mode you want to run (If you want a cloudflare link immediately use the remote mode).
  3. Visit KoboldAI's link to load a model, and then enjoy the model either in our UI or in your third party UI / site.

If 5000 is being blocked by another program and you can't get that program to change you can also use --port with a different port number in your KoboldAI shortcut or command prompt.

@henk717 henk717 closed this as completed Sep 25, 2023
@ghost
Copy link
Author

ghost commented Sep 26, 2023

Hi! Thanks for getting back to me, could you explain to me how to use a different port number for KoboldAI?

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

1 participant