I made a mistake in the ComfyUI GUI and changed the ComfyUI server from 127.0.0.1 to 127.0.0.1,192.168.10.10 - yep didn’t read the manual - my bad. But now regardless of what I do I get the same error message: Error: no available ports found between 8000 and 9000
I do a “netstat -oan | findstr :80” and nothing is taking up the ports. I have rebooted several times and still the same. I tied to install the comfyui-portiable version on a different drive, same error. I renamed all the folders in C:\ComfyUI, C:\users\pichezz\AppData\Roaming, and C:\Users\pichezz\AppData\Local, and then tried a fresh install of the comfyui.exe and it too fails with the same error.
HELP!
Neat error! We should make sure this can’t happen.
If you installed to the default location, you should have a ComfyUI folder in your Documents. Please open this file in a text editor:
Documents\ComfyUI\user\default\comfy.settings.json
You should be able to find the two-IP string you set (with e.g. Ctrl
+ F
). Just change that back to 127.0.0.1 and you should be good to go.
yep looked at that file, but it doesn’t seem to hold the changes. I have two other PCs with ComfyUI and I looked at their files as well. I even thought of copy one of tehir JSON files over, but sadly the same exact error.
Out of frustration I did a check-point recovery / restore from 3 days ago. Now ComfyUI isn’t installed, and I can try and re-install. I get further, but the “ComfyUI Setup 0.4.72 - x64.exe“ thinks that python cannot be found now. In the past I thought python was installed by the app, or am I just tired and forgetting things now.
Yeah that’s a hard link issue from deleting the destination file by the look of it.
If you have a decent internet connection, the fastest solution is to just delete the .venv
folder in your Documents\ComfyUI, and backup/delete (or just move) your user/default/comfy.settings.json
file.
This should regenerate everything on next load. If it doesn’t, please let us know - there’s more to do and we want to fix this so it doesn’t happen to you or anyone else again.