0

Why does In Postman client work , but not ThunderClient ?

In Postman client , I can GET to http://localhost:5173/api/posts , and see body "message":"Hello" , and status 200

But when I try the same operation using Thunder client extension in VS Code , I get "Connection was refused by the server."

I also tried using http://127.0.0.1:5173/api/posts and http://192.168.1.125:5173/api/posts , but no luck with either one.

petercli
  • 185
  • 2
  • 12

1 Answers1

0

using : [::1] instead of localhost

petercli
  • 185
  • 2
  • 12
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 23 '23 at 23:20