The remote computer refused the network connection error

I am not using the web server option. How do I prevent this error from being logged?

[error] :cross_mark: getVersion - Error: SocketException: ClientException with SocketException: The remote computer refused the network connection (OS Error: The remote computer refused the network connection, errno = 1225), address = 127.0.0.1, port = 56771, uri=http://127.0.0.1:5582/core/version