Topic was automatically imported from the old Question2Answer platform.
Asked By
jgee_23_
Hi!
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?
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!