I provided an api to my react app, it was working fine, but suddenly it stopped working. in my client (React app) package.json
"proxy": "http://localhost:7000"
now it tell me this error message: Could not proxy request /api/users/signup from localhost:3000 to http://localhost:7000 . thanks in advance.
Maybe you created a socket and didn't free the port afterwards ? This may happen if your app crashes. When you launch it again, the port may be occupied and unavailable, it happened to me a few times.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.