Retrieval-based-Voice-Conversion-WebUI
Retrieval-based-Voice-Conversion-WebUI copied to clipboard
[Dockerfile] OSError: Port 7865 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all()
I downloaded the Dockerfile, and ran the image in Docker GUI on my Windows 11. But I get this error after I run python infer-web.py in the terminal:
Use Language: en_US
没有发现支持的N卡, 使用CPU进行推理
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/networking.py", line 118, in start_server
s.bind((LOCALHOST_NAME, server_port))
OSError: [Errno 98] Address already in use
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/infer-web.py", line 1639, in <module>
app.queue(concurrency_count=511, max_size=1022).launch(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1740, in launch
server_name, server_port, local_url, app, server = networking.start_server(
File "/usr/local/lib/python3.10/site-packages/gradio/networking.py", line 121, in start_server
raise OSError(
OSError: Port 7865 is in use. If a gradio.Blocks is running on the port, you can close() it or gradio.close_all().
I tried to see what runs on that port:
# netstat -ltnp | grep :7865
tcp 0 0 0.0.0.0:7865 0.0.0.0:* LISTEN 1/python3
and then I tried to close that with kill -9 1, but the process is still there.
I also tried running python infer-web.py --port 8000, and the output was:
Use Language: en_US
没有发现支持的N卡, 使用CPU进行推理
Running on local URL: http://0.0.0.0:8000
but:
Try running ur shell with full admin access. And try --port 3000.
thanks, but it still doesn't work
have anyone solved it, i have the same problem