From 4e5779199d2be54e541bd8643cc77a64d9946d17 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Sun, 5 Jan 2020 05:47:33 -0300 Subject: [PATCH] [plugin] fix netsh command (#5744) The edited `netsh` command line had errors: 1- missing v4tov4 (or v6 variant) 2- should have `=` instead of `:` 3- typo in listen(ing)address and listen(ing)port --- plugins/evernote.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/evernote.koplugin/main.lua b/plugins/evernote.koplugin/main.lua index 9b8839f2f..046839006 100644 --- a/plugins/evernote.koplugin/main.lua +++ b/plugins/evernote.koplugin/main.lua @@ -238,7 +238,7 @@ function EvernoteExporter:addToMainMenu(menu_items) To export to Joplin, you must forward the IP and port used by this plugin to the localhost:port on which Joplin is listening. This can be done with socat or a similar program. For example: -For Windows: netsh interface portproxy add listeningaddress:0.0.0.0 listeningport:41185 connectaddress:localhost connectport:41184 +For Windows: netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=41185 connectaddress=localhost connectport=41184 For Linux: $socat tcp-listen:41185,reuseaddr,fork tcp:localhost:41184