fullphat / snarl

When { stuff_happens(); tell_me() }
http://snarl.fullphat.net
57 stars 2 forks source link

KB: Can't connect to management server when non-admin #61

Open fullphat opened 5 years ago

fullphat commented 5 years ago

Symptoms

When running Snarl as a non-administrative user, it's not possible to connect to the management server. The following may appear in the Snarl log file:

bootstrap: starting management server on '*:9989'...
bootstrap: didn't start: falling back to localhost...
bootstrap: FAILED: couldn't start management server!

Cause

The cause is most likely that Snarl is unable to start the management server due to insufficient permissions.

Fix

From an administrative command prompt, run the following and then re-launch Snarl:

netsh http add urlacl url=http://+:{port}/ user=Everyone listen=yes'

Where {port} is the port number the management server is set to.

Tags

management server non admin urlacl netsh