NetboxPS icon indicating copy to clipboard operation
NetboxPS copied to clipboard

"Connect-NetboxAPI" issues

Open TaoYuehai opened this issue 1 year ago • 1 comments

Dear All,

Connect-NetboxAPI -Hostname netbox-test.net PowerShell credential request Enter token for Netbox Password for user username-not-applicable: ****************************************

Invoke-RestMethod: No connection could be made because the target machine actively refused it.

This token is the default admin, Or create a new user and give a token with all permissions but still get an error.

I just built a netbox. Do I need any additional settings to allow the API to connect? thanks so much.

TaoYuehai avatar Jul 16 '24 07:07 TaoYuehai

Use -URL to connect instead

TaoYuehai avatar Jul 16 '24 08:07 TaoYuehai