cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
177
Views
1
Helpful
2
Replies

How do I connect to NSO WebUI with a static IP?

BonYeol Gu
Level 1
Level 1

 

BonYeolGu_0-1752540222494.png

Run the nso 6.5 local-install, ncs-setup --dest ncs-run commands

BonYeolGu_1-1752540404703.png

The default ncs.conf is set as follows:

BonYeolGu_2-1752540479781.png

I set a static IP to access the webui on the same network band.

BonYeolGu_3-1752540615128.png

When I access the webui with a fixed IP, 400 Bad Request occurs.

BonYeolGu_4-1752540724471.png

Even if you set the IP to 0.0.0.0 and connect, the same 400 bad request occurs when connecting with the IP.

How can I connect with an IP other than localhost?

Thank you in advance for your reply.

2 Replies 2

Torbjørn
VIP
VIP

This should "just work". Do you get any error messages in the logs? Can you upload a (possibly censored) version of your config so that I can test?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

cohult
Cisco Employee
Cisco Employee

Note that as of NSO 6.5, host name matching is enabled by default.
https://nso-docs.cisco.com/guides/whats-new#web-server-hostname-matching
Details:
https://nso-docs.cisco.com/guides/administration/management/system-management#exposed-interfaces
Default ncs.conf values:
/ncs-config/webui/match-host-name (boolean)[true]
/ncs-config/webui/server-name (string) [localhost

You can set match-host-name to false in your ncs.conf while developing. See link to docs above why it is recommended to enable it when deploying.