Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind port 7860 to 0.0.0.0 to allow access from other PCs within the same network. #132

Open
cortier opened this issue Dec 2, 2024 · 1 comment

Comments

@cortier
Copy link

cortier commented Dec 2, 2024

Currently, the server is running on 127.0.0.1:7860, which restricts access to the local machine only. Even if the port is open on the network, other PCs cannot access the server due to this binding configuration.

Is there a way to enable remote connections (0.0.0.0 binding), eliminating the need to rely on the Gradio sharing link server?

Thanks.

@joytsay
Copy link

joytsay commented Dec 6, 2024

this is a gradio argument fix:
add to app_rvc.py

    app.launch(
        max_threads=1,
        share=args.public_url,
        show_error=True,
        quiet=False,
        debug=(True if logger.isEnabledFor(logging.DEBUG) else False),
        server_name='0.0.0.0'
    )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants