I am running a server.pck as a Godot Server on my GCP VM instance.
var server = WebSocketServer.new()
I am running a seperate client.html currently from my local machine, attempting to connect to:
var client = WebSocketClient.new()
var url = "ws://" + ip + ":" + str(port)
print("attempting to connect to " + url)
The IP specified when trying to connect is the external IP of the GCP instance.
This all works using "localhost", but doesn't when using GCP. Do I need to do anything else to run a WebSocketServer through GCP?
Using "netstat -ano | grep 4444" I get:
tcp6 0 0 :::4444 :::* LISTEN off (0.00/0/0)