Custom node

Hi, I’ve deployed a custom node, but I’ve had to turn off him and now when I turn on the node he shows as offline. I checked in the and he also shows offline. Do I have to run some kind of command on my machine to connect the node again? Or anything else?