Connection refused: A message provided when a remote server is not listening on a particular IP:Port or a firewall is rejecting a connection with icmp-port-unreachable.
We have a canonical Q&A for this. Please read it carefully
What causes the 'Connection Refused' message?
and save everyone the effort of closing your question as a duplicate of it.