xanderjakeqX
Denoβ€’3y ago
xanderjakeq

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


any idea why this is happening and a way to fix it?
thankss
Was this page helpful?