I wish to run some Python code remotely from my local KNIME. I have set up my Python Server using the instruction.
After configuring host and port in File-> Preferences -> KNIME -> Python Scripting and unchecking Run python scripts on local system (ignores host/port setting) I get the following error when trying to run Python Snippet:
ERROR Python Snippet 0:28 Execute failed: java.lang.IllegalArgumentException: Connection refused to host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused: connect
The strange thing is the local IP in the error.
However, when I try to connect to a wrong port or port unavailable because of firewall I get different Error:
ERROR Python Snippet 0:28 Execute failed: java.rmi.ConnectException: Connection refused to host: zzz.zzz.179.183; nested exception is:
java.net.ConnectException: Connection timed out: connect
That’s why I believe that KNIME manages to connect to remote server but not fully. Do you have any idea what may be blocking me?