Glitch is not connecting Lavalink which is hosted on my local machine

Hello I am trying to connect to Lavalink from glitch but it won’t allow me. The Lavalink server is running on my localhost and I am trying to connect externally. My node setup is as follows:

"nodes": {
   [
      "host": "MY PC IP",
      "port": 2333,
      "password": "MYPASS"
   ]
}

Please help me. My project: my-client

I believe you can’t just connect to localhost ports from the outside like that. That would be a huge security hole: I could just get your IP address, and then try random ports and see what you’re doing.

I believe something like ngrok.com could help with this.

1 Like

@benborgers is correct and glitch projects can only connect to port 3000.