Can't connect to my server

Everytime I try to connect to my server I get this error massage in the playit.gg app: ConnectionRefused, message: “No connection could be made because the target machine actively refused it.”