I would like to connect Remix - Ethereum IDE (https://remix.ethereum.org) to localhost.
I followed the instructions https://remix-ide.readthedocs.io/en/latest/remixd.html#update-to-the-latest-remixd:
- I installed remix daemon
npm install -g @remix-project/remixd
using npm. - I created folder
mkdir ~/shared_project
. - I gave read/write privilege to this folder
chmod u+rw shared_project
for my local user. - I started remix daemon
sudo remixd -s ~/shared_project --remix-ide https://remix.ethereum.org
.
The problem is that when I would like to connect Remix IDE in a browser to localhost I can see the popup window with the error message Cannot connect to the remixd daemon. Please make sure you have the remixd running in the background.
.
I tried to reboot daemon:
ps -ef | grep remixd
sudo kill 1007
sudo remixd -s ~/shared_project --remix-ide https://remix.ethereum.org
.
I tried to reinstall the daemon:
sudo npm uninstall -g @remix-project/remixd
sudo npm install -g @remix-project/remixd
I tried to reopen the remix browser IDE
However I can see this error message still.
I expect that I can connect Remix IDE in a browser to localhost.
p.s. I use MacOs Monterey Version 12.2 and Safari browser.