#Cannot open Gateway

1 messages · Page 1 of 1 (latest)

quartz ermine
#

uhhh first start the rest npm run startr then start the gateway

night moon
#

Node module?

#

What node module

#

And idk where this code deals with the rest part, but your error (ECONNREFUSED) simply comes only twice afaik: When the rest isn't on (check this by sending requests to your rest process manually), When your rest process isn't accepting requests for reasons like firewall and stuff

odd rampart
#

the rest seems to be offline?

oak relic
quartz ermine
#

so, it was working? till uh something happened?

oak relic
#

seems like it\

oak relic
#

command failed

#

what does that mean

#

could this be the issue?

#

its going crazy

quartz ermine
#

what's your os

oak relic
#

im Microsoft

#

windows 10

#

even did port 8000

quartz ermine
#

since i dont really know what exactly is the issue, try doing netstat -aon and look for the port under the local address column, it should appear as 0.0.0.0:<port> if it's used (thats if you want to see whether the port is used or not)

oak relic
quartz ermine
#

okay so, either change the port of the gateway/rest from 8000 to something else or kill the process that's using that port?

oak relic
#

how would i kill the process using the port, I don't think I have anything running on it anyway

quartz ermine
#

there should be a PID column

oak relic
quartz ermine
#

is the rest currently running? ;-;

oak relic
#

yes

#

but it doesnt make sense if my rest is running i should be able to make a gateway no?

quartz ermine
#

starting order should be: REST > BOT > GATEWAY, did you start both rest and bot before the gateway?

oak relic
#

yes

#

it has an error but it still listens at port :8000

quartz ermine
#

that's REST, what about BOT?

oak relic
#

still listening

#

im not using prisma thought

#

though*

#

not yet*

quartz ermine
#

what's bot:8081

oak relic
#

wow, thats supposed to be localhost

#

but it still didnt fix the issue

quartz ermine
#

im confoosed, cant help ig

oak relic
#

@quartz ermine have you went through the steps of using the docker?

quartz ermine
#

nope

night moon
#

Honestly I'd ping the person that added all this docker stuff and all that other extra stuff

#

So they could help

#

I only rewrote the guide until it was simple with no docker and all, besides that is no longer something I know about so idk much about helping you with using docker or removing it properly if you don't use docker

#

What if you try to use the codes from this commit

#

The last time I ran that, it was working

night moon
oak relic
#

@night moon

night moon
#

And you're using docker? If yes, you'll have to map ports stuff iirc which I forgot how to

oak relic
#

@night moon portforward to my pc?

#

is that the issue here?