2

I have installed the Helix example and I am trying to pull items from the Sitecore content tree using CLI and SVS. In both cases, I am getting an error,

No connection could be made because the target machine actively refused it

However, I was able to connect to the server by using

dotnet sitecore login --auth https://id.basic-company-aspnetcore.localhost --cm http://cm.basic-company-aspnetcore.localhost --allow-write true.

Any suggestion in this regard is highly appreciated. I think this might be related to the port.

enter image description here

Phaneendra

5
  • Does your site run on http or https? It looks like you're trying to connect using http. Try changing to https://cm.basic-company-aspnetcore.localhost
    – Marek Musielak
    Sep 3, 2022 at 18:02
  • I am using https only I am able to open CM site. Issue is only connectivity from cli and svs.
    – tpkphani
    Sep 3, 2022 at 18:09
  • Change --cm parameter in your command to --cm https://cm.basic-company-aspnetcore.localhost. You're missing s after http. CLI is trying to connect to port 80 instead of 443
    – Marek Musielak
    Sep 3, 2022 at 18:16
  • Yes, It worked after putting https... Thank you very much @MarekMusielak.
    – tpkphani
    Sep 3, 2022 at 18:41
  • You're welcome @tpkphani . I converted my comment into an answer
    – Marek Musielak
    Sep 3, 2022 at 20:41

1 Answer 1

0

Change --cm parameter in your command to

--cm https://cm.basic-company-aspnetcore.localhost

You're missing s after http.

CLI is trying to connect to port 80 instead of 443

Not the answer you're looking for? Browse other questions tagged or ask your own question.