firecamp-io / firecamp

VSCode for APIs, Postman Alternative.
https://firecamp.dev
317 stars 22 forks source link

couldn't connect to server (Error code: 7) #163

Closed danieldflrs closed 3 years ago

danieldflrs commented 3 years ago

Captura de pantalla 2021-06-30 122926 this happens when trying to connect, but my server is running On windows 10 wsl2

welcome[bot] commented 3 years ago

Welcome to the Firecamp! Thanks and congrats for opening your very first issue in Firecamp. Join the Discord community here https://discord.gg/8hRaqhK Hope you have a great time here :)

Nishchit14 commented 3 years ago

@danieldflrs It happens when the server is not started yet. are you sure that the local server is running on port 3000

Nishchit14 commented 3 years ago

released https://github.com/firecamp-io/Firecamp/releases/tag/v2.0.11


@danieldflrs If you still face this issue, feel free to reopen this thread.

ngimdock commented 1 year ago

I have the same problem with firecamp, My server is running but when I make requests it throw me the same error than @Nishchit14. How can i fix this please

ngimdock commented 1 year ago

need help please

shreya-gr commented 1 year ago

@ngimdock are you sure the server is running? can you please share the result of curl htttp://localhost:3000 from terminal? please set the port of your server instead of 3000

ngimdock commented 1 year ago

Thanks for your answer @shreya-gr

Yes my server is running, i tried with postman and it work properly but when i use firecamp for making request it throw me that error

This is the output when i make request on port 3000:

on firecamp image

on the terminal image terminale

This is the output when i change the port and making request on port 8000:

on firecamp image 2

on the terminal image 4

ngimdock commented 1 year ago

the only time I used fire and everything worked fine was the day of the installation. The rest of the times I got this error.

Nishchit14 commented 1 year ago

@ngimdock please try with http: protocol

ngimdock commented 1 year ago

Yes @Nishchit14 while creating the request, i setup the request type to http but i have the same issue.

Nishchit14 commented 1 year ago

you have entered the wrong URL pattern, try http://localhosr:3000/auth/login instead of localhost//:3000/

image