Couldn't connect to server

Hi, I followed the tutorial at
using the latest Ubuntu in a virtual machine and is still does not work. I have the node openned but when I try to

./src/zcash-cli getinfo


./src/zcash-cli z_getnewaddress

it says “couldn’t connect to server”

anyone has a clue about that? I saw some posts about it but have not helped at all

Same issue here, anyone else?

Same issue here, any solutions?

Make sure you're running zcashd on a separate window, did the trick for me.

was having same issue.

works now.

Same issue:
1. Ubuntu shell in Windows 10
2. zcashd runs in separate window
3. zcash-cli couldn't connect to server
Need a help!

Have you found any solution to this problem?

Same problem here on Ubuntu Shell for Win10, did you found any solution?

add in zcash.conf file next line:

now it works fine!

I already have it but it seems like the problem is still there. I used manual from this topic:
But I am still getting this problem.

Can you please post your config?

Config includes just few lines:

Also check yout /etc/hosts file. it should include for local host and your user name in shell, like localhost DESKTOP-YOURNAME

this changes a make.