API Question
#4824
Replies: 1 comment
-
./start_linux.sh --api --api-port 5001 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to follow an example on this page, https://github.com/oobabooga/text-generation-webui/wiki/12-%E2%80%90-OpenAI-API
It shows how to change the api port "To change the port, which is 5000 by default, use --api-port 1234 (change 1234 to your desired port number)."
I entered "./start_linux.sh --api-port 5001" but it does not seem to create that port and/or api.
I went to "http://127.0.0.1:5001/" to check and it says "unable to connect"
I'm wondering if this is a bug or maybe the information is outdated?
Some additional context: I run multiple instances of webui. That works fine when not adding the --api on startup. I wanted to create an api for each instance. The first run does create the 5000 port. The other instances wouldn't create one, and I found that was because they were trying to use 5000 also. So I closed all of the instances, restarted my computer just in case there was something odd going on with the ports, and on the first webui run, i tried to create api on port 5001.
Beta Was this translation helpful? Give feedback.
All reactions