简体   繁体   English

http://localhost:3000/localhost:5000/api/register 当我请求 URL

[英]http://localhost:3000/localhost:5000/api/register when i request URL

Hey Guys Im getting error on this COde About fetching the react server URL and node server URL How to solve this porblem Guys can u check and send me solution for this Thank嘿伙计们我在这个代码上遇到错误关于获取反应服务器 URL 和节点服务器 URL 如何解决这个问题伙计们可以检查并发送解决方案谢谢

Could you please check if your server URL exactly matches the URL pattern?您能否检查您的服务器 URL 是否与 URL 模式完全匹配? Like http://localhost:4001/* .http://localhost:4001/* Because I also faced a similar issue where I put my URL as http:localhost:4001/* and this is how I resolved it.因为我也遇到了类似的问题,我将 URL 作为http:localhost:4001/*这就是我解决它的方法。

Thanks谢谢

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 出现错误:无法将请求/ api / plaid / accounts从localhost:3000代理到http:// localhost:5000 / - getting error : Could not proxy request /api/plaid/accounts from localhost:3000 to http://localhost:5000/ 将请求 localhost:3000/api/product 代理到 http://localhost:5000/ 时发生错误 - Error occurred while proxying request localhost:3000/api/product to http://localhost:5000/ Docker 代理错误:无法从 localhost:3000 代理请求 /api/product/B002QYW8LW 到 http://localhost:5000 - Docker proxy error: Could not proxy request /api/product/B002QYW8LW from localhost:3000 to http://localhost:5000 “React 代理错误:无法将请求 /api/ 从 localhost:3000 代理到 http://localhost:5000 (ECONNREFUSED)”?错误.. 没有在线解决方案 - "React Proxy error: Could not proxy request /api/ from localhost:3000 to http://localhost:5000 (ECONNREFUSED)'? Error.. No solution online 代理错误:无法代理请求 /api/house-listing 从 localhost:3000 到 http://localhost:5000? (ECONNRESET)、MERN - Proxy error: Could not proxy request /api/house-listing from localhost:3000 to http://localhost:5000? (ECONNRESET), MERN 代理错误:无法代理请求...从 localhost:3000 到 http://localhost:5000/ - Proxy error: Could not proxy request ... from localhost:3000 to http://localhost:5000/ 代理错误:无法代理请求/用户从 localhost:3000 到 http://localhost:5000/ - Proxy error: Could not proxy request /users from localhost:3000 to http://localhost:5000/ 身份验证 POST http://localhost:3000/api/users/register 400(错误请求)MERN 应用程序 - Authentication POST http://localhost:3000/api/users/register 400 (Bad Request) MERN Application 发布 http://localhost:3000/api/auth/register 404(未找到) - POST http://localhost:3000/api/auth/register 404 (Not Found) CORS 政策已阻止从源“http://localhost:3000”访问“http://localhost:5000/api/products”处的 XMLHttpRequest:否“访问控制” - Access to XMLHttpRequest at 'http://localhost:5000/api/products' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Contr
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM