"Error listening on port 6007" - Cannot use the debug output terminal, how can I resolve this?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Grubbytoes

Whenever I run a scene in Godot I get the above error message in the output terminal. I cannot send anything to print in the output terminal from my scripts.

Changing the port in the editor settings does not resolve the issue, only changes the error message to whatever the new port number is.

I am only running one instance of Godot, and have checked task manager to see if there was one running in the background.

I have tried restarting my pc several times, and have tried un-and-reinstalling the engine itself (I am using the steam version).

The error is consisten across every project including the prepackaged/demo ones.