xanderjakeq
xanderjakeq14mo ago

oak server can't accept requests from another server?

hi, I'm trying out deno with oak to make a simple server. I set up cors(x/cors), it accepts requests from the browser, but when I try to make a request from a another server, the fetch fails.
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8080
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8080
any idea why this is happening and a way to fix it? thankss
0 Replies
No replies yetBe the first to reply to this messageJoin