Skip to content

Conversation

@ahmadki
Copy link
Member

@ahmadki ahmadki commented Dec 10, 2025

Closes https://github.com/NVIDIA-NeMo/Internal-Planning/issues/126

@bxyu-nvidia Per the issue, the PR also changes the default server_host to 0.0.0.0 (accessible from everywhere). But I would advise against this for security reasons. I think keeping the default to 127.0.0.1 is the right call even if the user needs to modify the command to access the server.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Dec 10, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ahmadki
Copy link
Member Author

ahmadki commented Dec 10, 2025

If we keep 0.0.0.0 as the default server address, I will need to remove the GRADIO_SERVER_NAME and GRADIO_SERVER_PORT commits since the CLI default will be higher priority. If we revert to 127.0.0.1, I will need to change the CLI defaults to None as gradio will pick these as default while keeping the GRADIO_SERVER_NAME and GRADIO_SERVER_PORT env variable option open.

Signed-off-by: Ahmad Kiswani <kiswani.ahmad@gmail.com>
:::{tip}
**Configuring Network Access**

By default, the viewer accepts requests only from localhost (`server_host=127.0.0.1`). To make it accessible on your local network:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we change

To make it accessible on your local network:

to

To make it accessible on beyond your local network or accessible from a different machine:

Signed-off-by: Ahmad Kiswani <kiswani.ahmad@gmail.com>
@ahmadki ahmadki requested a review from bxyu-nvidia December 10, 2025 22:51
@bxyu-nvidia bxyu-nvidia merged commit bf0b0c5 into main Dec 10, 2025
5 checks passed
@bxyu-nvidia bxyu-nvidia deleted the ahmadki/fix_126 branch December 10, 2025 23:44
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

Successfully merging this pull request may close these issues.

3 participants