0 votes

i just gets the Error listening on port 6007 or whatever number i changing it to for no reason, after i cleaned the godot settings folder.

im just testing my offline game in godot on my pc.
the game wont crash, no error messages, not even printing. so i cant even fix simple bugs because i dont know whats wrong.

when i closing the game get_tree().quit() the play buttton is still playing.

i tried 3.3.2, 3.3.1, 3.3.0 and still same issue.

any idea?

Godot version 3.3.2
in Engine by (195 points)
edited by


"While waiting for this to hit 3.2 anyone who has a similar issue can work around this as far as I can tell by adding a tailored plugin to each of their projects e.g. (with an altered range)"

extends EditorPlugin

const RANGE_MIN = 10100
const RANGE_MAX = 10200

func build():
    var interface = self.get_editor_interface()
    var settings = interface.get_editor_settings()
    var port = randi() % RANGE_MAX + RANGE_MIN
    settings.set('network/debug/remote_port', port)
    prints("Set port to in settings to", port)
    return true

"Managing to consistently get my client/server to connect to their respective debuggers when launching from the editor. It might be overly complex but it works for me so figured I would share in case someone is running into a similar issue."

It seems like this is a known bug with the workaround listed above. This might be fixed once a pull request is added to godot 4.0.

didnt work. godot do not even print text from the build function

Sorry, not sure what to tell you, my answer was a result of google-fu. I hope someone else will be able to help you. Calinou commented on the GitHub issue and he's pretty active here, hopefully he'll see this question.

1 Answer

0 votes
Best answer

its just to restart the pc

by (195 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.