0 votes


I'm making a game and I've made both the server and the client. I exported the client to HTML5, and to test it normally I would have to set up a localhost server then open it through there, but I can't do that while my own server is up. Any suggestions?

Thanks in advance

Godot version 3.2.3
in Engine by (108 points)

1 Answer

0 votes
Best answer

Apparently it would only give an error if you tried to run a localhost server within the client editor (when pressing the upper-right corner HTML5 symbol). All I did was go to my client's export location, type cmd in the path bar, type python -m http.server 8000 in cmd, go to chrome and open localhost:8000, then run my own server and finally open the file from the browser and it worked. Didn't test too much before asking... my bad!

by (108 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.