Pravesh Gupta
Pravesh Gupta

Reputation: 51

wbemcli Http Exception: Couldn't connect to server

I am getting the above error on Ubuntu 14.04 on running this following command -

wbemcli ecn "http://:5988/root/cimv2"

Error - wbemcli Http Exception: Couldn't connect to server

In fact every wbemcli command is giving this error.

Any solution idea or thoughts to overcome this?

Upvotes: 1

Views: 1334

Answers (1)

ljl_geek
ljl_geek

Reputation: 1

You need to use an actual hostname, like this:

wbemcli ecn "http://localhost:5988/root/cimv2"

Also, you may need to authenticate.

For https, you would use (if you have the right certificates)

wbemcli ecn "https://localhost:5989/root/cimv2"

Upvotes: 0

Related Questions