The JCoException tells what went wrong. It could not connect to the specified gateway. The full exception usually contains a "caused by" exception, which shows further details.
Firstly, you posted this in the wrong area. This is not a question.And secondly, by following these instructions you are finally running the Cloud Connector INTEL x86_64 version on your M1/M2 macbook.I do not recommend to do so because there is a nat...
Apparently, changing the port did not work.ERR_CONNECTION_REFUSED usually means that there is no process running on the target host, who listens to the specified port.