Real-Dev-Squad / docs

Documentation on how we will contribute and collaborate on code
MIT License
8 stars 12 forks source link

change run command of local-ssl-proxy #14

Closed shubhamsinghbundela closed 1 year ago

shubhamsinghbundela commented 1 year ago

For accessing APIs of Real Dev Squad, We use proxy that redirect traffic and runs directs our traffic to port 443 to our dev server. For more details read : https://github.com/Real-Dev-Squad/docs/tree/main/docs/dev/https-dev-url-cors

Problem

After installing local-ssl-proxy and then when we Run local-ssl-proxy --source 443 --target <your-port e.g 3000> on terminal then after running https://dev.realdevsquad.com/ on browser we get error message on terminal: Request failed to proxy: ECONNREFUSED

Solution

As local-ssl-proxy version updated (version: 2.0.5) due to which we have to change run command Run: local-ssl-proxy --source 443 --target <your-port e.g 3000> --hostname dev.realdevsquad.com