You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using fasthttp.Client to connect to a Vite/react dev server running on port http://localhost:5173 the connection is refused with the following output Error: The HTTP request failed with error dial tcp4 127.0.0.1:5173: connect: connection refused
Further info Vite dev server only responds at http://localhost:5173 not http://127.0.0.1:5173 using curl, Safari or Chrome. Consistent with net/http client.
Bug Description
When using fasthttp.Client to connect to a Vite/react dev server running on port
http://localhost:5173
the connection is refused with the following outputError: The HTTP request failed with error dial tcp4 127.0.0.1:5173: connect: connection refused
How to Reproduce
Clone https://github.com/sixcolors/FiberReactTest
Don't run the main.go from the project but instead run the following:
Expected Behavior
net/http client and fasthttp client both work the same.
Actual result
related to bug report in downstream gofiber/fiber#2890
The text was updated successfully, but these errors were encountered: