首页 > > > .NetCore部署在Centos7上接口无法调用
首先我在本地运行dotnet publish(当然是选择发布在linux上)后,再运行dotnet xxxx.dll后访问本地localhost:5000后,点击登录返回jwt token,无异常。


之后的问题是,我上传到centos上后,我用nginx反向代理,界面可以访问,点击登录接口就不行了,如图

防火墙端口都已开

错误信息:TypeError: Failed to fetch
ps:远程附加调试无法命中断点,不知道啥原因
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2079/viewspace-3130756/ ,如需转载,请注明出处,否则将追究法律责任。