ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Permission Error

Open Marcus-Arcadius opened this issue 2 years ago • 2 comments

image

Traceback (most recent call last): File ".\main.py", line 123, in loop.run_until_complete(run(server, address=args.listen, port=args.port, verbose=not args.dont_print_server, call_on_start=call_on_start)) File "C:\Users\emery\miniconda3\envs\comfy\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File ".\main.py", line 47, in run await asyncio.gather(server.start(address, port, verbose, call_on_start), server.publish_loop()) File "E:\Stable_Diffusion\ComfyUI_windows_portable\ComfyUI\server.py", line 548, in start await site.start() File "C:\Users\emery\miniconda3\envs\comfy\lib\site-packages\aiohttp\web_runner.py", line 121, in start self._server = await loop.create_server( File "C:\Users\emery\miniconda3\envs\comfy\lib\asyncio\base_events.py", line 1463, in create_server raise OSError(err.errno, 'error while attempting ' OSError: [Errno 10013] error while attempting to bind on address ('127.0.0.1', 8188): an attempt was made to access a socket in a way forbidden by its access permissions

Marcus-Arcadius avatar Jul 08 '23 16:07 Marcus-Arcadius

Are you running another ComfyUI at the same time?

comfyanonymous avatar Jul 08 '23 16:07 comfyanonymous

Check your local firewall and/or antivirus. Make sure that your OS is allowed to use that port. You may also try rebooting to force the port open and try again if your firewall is already off. Finally, you may try adding the “—-listen” argument when launching and specify your local IP instead of loopback which would technically be a different socket.

BileFlask avatar Jul 08 '23 19:07 BileFlask

Can you change the port using --listen. or just stop the previous process taking up that port.

robinjhuang avatar Jul 03 '24 22:07 robinjhuang