Localhost无法与RDP一起使用 [英] Localhost not working with rdp

查看:146
本文介绍了Localhost无法与RDP一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天在家工作,只是发现我的应用程序甚至没有向本地主机发出请求(由断点找到).这只是从今天早上开始发生的,我可以向您保证它正在现场工作.

我在一个解决方案中有两个项目.我有一个Web项目和一个从Web服务(该Web项目)请求的WPF应用程序.我通过单击在浏览器中运行"播放按钮来启动Web项目.我可以检查一下浏览器,看看它是否正在运行并正在响应.

wpf应用程序的地址为http://localhost/foo,以向其发出请求.在现场,这很好用.现在我在家工作,请求失败了.我在Web项目中设置了一个断点,所以我知道请求实际上并没有到达服务器.

我尝试了一些问题,但是我得到了有关如何使用rdp或如何远程连接到Visual Studio的答案.我没有适当地要求获得对此的特定答复,因此这解释了我的帖子

I am working from home today and just figured out that my application is not even making requests to localhost (found by breakpoints). This just happened as of this morning, and I can assure you it was working on site.

I have two projects in one solution. I have a web project and a wpf application that requests from a web service (the web project). I launch the web project by clicking the run in browser play button. I can check int eh browser and see that it is running and responding.

The wpf application has an address of http://localhost/foo to make requests to. On site , this works just fine. Now that I''m working from home the requests are failing. I put a break point in the web project so I know that the requests are not actually getting to the server.

I tried googling a few questions but Iget answers on how to use rdp, or how to connect to visual studio stuff remotely. I''m not asking properly to get responses specific to this, so that explains my post

推荐答案

这是一个月相bug,正如评论所建议的那样.有点古怪.

我有一个证人,以确保我没有想像它.我们还通过办公室中的另一台计算机进行了连接,并且工作正常.工作的小伙子玛丽"是启动应用程序,然后返回家中并再次进行远程连接.解决了它,并在其正常运行时进行连接.
this was , as the comment suggested, a moon phase bug. Something quirky.

I have a witness to ensure that I was not imagining it. We also connected from another computer there in the office and it worked fine. The "hail mary" that worked was to start the application, then go back home and remote connect again. That solved it, connecting when it was running properly.


这篇关于Localhost无法与RDP一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆