I have followed post to enable emacs in windows explorer by adding following registry:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open In Emacs]
[HKEY_CLASSES_ROOT\*\shell\Open In Emacs\Command]
@="\"C:\\Unix-Bin\\emacs-24.3\\bin\\emacsclientw.exe\" -a \"C:\\Unix-Bin\\emacs-24.3\\bin\\runemacs.exe\" \"%1\""
Before today it works good. But today I find when to open file with "Open in Emacs" menu, following error will popup. And later the file is opened by emacs correctly.
No idea why following error come out.
Error :
C:\Unix-Bin\emacs-24.3\bin\emacsclientw.exe: connect: No connection could be made because the target machine actively refuse it.
You can try below solution: You might have a firewall rule in the way, or are trying to run it through a proxy without having the proxy up and running. The easiest way to check would be to disable your firewall or proxy and try again. Disable proxy at web.
If no connection could be made because the target machine actively refused it, this indicates that the Source or Destination system blocked the connection. This is likely due to firewall or web server settings. In some cases, an IP restriction may be in place.
I had the same error message. In my case I had to delete the old connection: I removed
~/emacs.d/server/server
file and then it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With