Usually when we use Microsoft authentication node and chose Interactive Authentication.
The Node temporarily opens a HTTP listener on a port 51355 to receive the authorization code from Microsoft. We get the Address already in use error when the port is already in use or if the previous logins are stuck.
Did we try to restart the KNIME analytics platform? also which version of KNIME AP are we using?
For everyone elses benefit, I had to not only restart Knime but my entire computer. Thank you @nagarjun36 for hinting at the listening port. I then got a certificate error to which I quickly was a able to attribute it to a firewall issue.
Hi @donpepe15 , restarting the whole computer is a bit extreme, though of course, it still remains the ultimate thing to do if all fails.
You may consider to simply kill the process that’s using the port - it sometimes happens that the process got “stuck”.
You can run the command netstat to see what connection and port is in use. If you run netstat -o, it will show you the PID (Process ID) of the connection. Look for which one has :51355 and then kill the process with the PID.
You can kill the process with:
for example: kill 1234