[英]Cannot access WCF Service running inside Parallels from outside
I have a WCF service which is working perfect inside of my Parallels Bootcamp VM 我有一个WCF服务,可以在我的Parallels Bootcamp VM内正常运行
However, I cannot get this working from outside, ie the MAC that parallels is running on 但是,我无法从外部进行此操作,即并行运行的MAC正在运行
The IP address is shown as 10.211.55.3 using IP Config 使用IP Config的IP地址显示为10.211.55.3
The service is running via port 17377 so I am trying to use the URL 'http :// 10.211.55.3: 17377/CalculatorService.svc' 该服务正在通过端口17377运行,因此我尝试使用URL'http:// 10.211.55.3:17377 / CalculatorService.svc'
It appears as though this is normally caused by firewall issues 看来这通常是由防火墙问题引起的
However, the firewall is off on both the windows VM and my MAC 但是,Windows VM和我的MAC上的防火墙均关闭
Has anyone got any other ideas about what the problem could be? 是否有人对问题可能有其他想法?
I have tried this with another WCF service and still have the same problem, the 10.... IP address errors with invalid hostname 我已尝试使用另一个WCF服务进行此操作,但仍然存在相同的问题,即10 .... IP地址错误,主机名无效
Paul 保罗
This has now been fixed thanks 现在已解决,谢谢
If anyone else ever gets a similar issue to this the easiest thing is to change the parallels network to host only although this does disconnect the internet 如果其他任何人遇到类似的问题,最简单的方法是将并行网络更改为仅托管主机,尽管这确实会断开Internet连接
I had to do that as well as modifyibg the host file on both the vm and mac to link the machines IP address to an specific host I gave it 我必须这样做,同时还要修改vm和mac上的主机文件,以将机器IP地址链接到我给它的特定主机
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.