xanderjakeq
xanderjakeq
DDeno
Created by xanderjakeq on 8/26/2023 in #help
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
1 replies