Genie Discord forum

Author AvatarEthanRLeonard
10/6/2023, 10:34:46 PM

New user here. This is probably more basic than Genie knowledge, but here goes:

I'm trying to create a route that sends an HTTP request, and I want that route to run on my new domain, but I keep getting ERROR: cannot bind to port; may already be in use or access denied

Here's what I tried:

route("/syms",method = GET) do
  syms = HTTP.request(my request with my api key)
ip = "23.32..."
up(8000,ip,async = false)

I also don't know where to put the server hostname or which port to use.