I just installed invokeAI 4.0.4. Everything is OK, But when i start invoke.bat, I get some red error: Please help me .
[2024-04-12 13:01:28,799]::[uvicorn.error]::ERROR --> [Errno 13] error while attempting to bind on address ('127.0.0.1', 9090): an attempt was made to access a socket in a way forbidden by its access permissions
#Can't start webUI
3 messages · Page 1 of 1 (latest)
Hi @abstract plover. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The error message you're seeing suggests that the port 9090 on your machine is already in use or blocked by some other process or firewall settings. This is preventing InvokeAI from binding to this port to start the web server.
Here are a few steps you can take to troubleshoot this issue:
-
Check if the port is in use: You can use tools like
netstat(on Unix-based systems) orTCPView(on Windows) to check if any other process is using port 9090. If so, you may need to stop that process or choose a different port for InvokeAI. -
Check your firewall settings: Ensure that your firewall is not blocking the port 9090. You may need to add an exception for this port in your firewall settings.
-
Run as Administrator: On Windows, some ports can only be accessed with administrator privileges. Try running the command prompt as an administrator and then start InvokeAI.