dependabot[bot] on npm_and_yarn
Bump ws from 6.2.1 to 6.2.2 Bu… (compare)
XVincentX on npm_and_yarn
curl https://thuleen.ddns.net:4444/ip -k works on the same machine but get connection refused when do on remote machine:
curl: (7) Failed to connect to thuleen.ddns.net port 4444: Connection refused
I already check UFW status:
[ 7] 4444 ALLOW IN Anywhere
Any idea how to resolve this. Thank you!
I am using microservices in one of my project.
I have a problem let assume we have 4 services & In all my services some files are uploading using multer. Now when I pushing the code the live server then I am facing an issue.
I have a gateway host which is you can assume https://api.xyz.com (It will be localhost in the case of local environment).
Now comes to my services so let assume we have user-service, admin-service so in this serviceEndpoints will be http://localhost:3000 & http://localhost:30001 respectively. Now If I want to access the image in admin service those are uploaded through user service. I need to buy a separate domain for that or a sub domain for that. Now if I have 100 services in my express gateway then I will need 100 domain or sub domains for that.
Please help me.
(PS: This is working correct in case of JSON data just because right now in server environment the service end point is localhost. So it fetch data from DB. But problem with files).
port: 8080 admin: port: 9876 apiEndpoints: api: host: localhost paths: "/ip" hr: methods: 'GET,POST,PUT' host: localhost paths: '/api*' serviceEndpoints: httpbin: # will be referenced in proxy policy url: 'https://httpbin.org' hrService: # will be referenced in proxy policy url: 'http://localhost:5000' policies: - basic-auth - cors - expression - key-auth - log - oauth2 - proxy - rate-limit pipelines: default: apiEndpoints: - api policies: - proxy: - action: serviceEndPoint: httpbin changeOrigin: true hr: apiEndpoints: - hr policies: - cors: - action: origin: '*' methods: ['HEAD','PUT','PATCH','POST','DELETE'] - proxy: - action: serviceEndPoint: hrService
hrServiceendpoint is working correctly
httpbinendpoint does also respond with bad gateway