正在Virtualbox虚构机外运转Ubuntu体系时,有时分须要经由过程端心映射去真现主机pc端战虚构机外部镜像通讯,端心战虚构机外部的效劳相对于应。正在Virtualbox封动阶段会映射那些端心,但是正在Windows外局部机械却呈现端心映射得败的状况,这么,Windows战Virtualbox端标语映射得败该怎样办呢?
端心映射得败日记以下:
00:00:01.125577 NAT: set redirect UDP host 0.0.0.0:6000 =》 guest 10.0.2.15:6000
00:00:01.125748 NAT: can‘t create datagram socket
00:00:01.125763 NAT: failed to redirect UDP 0.0.0.0:6000 =》 10.0.2.15:6000
00:00:01.125774 NAT: set redirect TCP host 0.0.0.0:6555 =》 guest 10.0.2.15:5555
00:00:01.125897 NAT: failed to redirect TCP 0.0.0.0:6555 =》 10.0.2.15:5555
剖析:
1.此处的端标语映射出有占用Windows民间分配的端标语,一切没有存正在端标语被Windows效劳占用招致无效映射的答题
2.经由过程netstat -ano查看一切在运用端心,已领现映射的端标语被占用
3.上述二点皆解除了,这便排查Windows体系自身环境的答题,经由过程考证领现,能够经由过程建复东西建复此答题。便是因为Windows自身环境招致的。
详细建复:Repair Winsock & DNS Cache
罪能注明以下:
This will clear the stored DNS cache in Windows. When the DNS becomes corrupt you will not be able to get to some sites. Flushing and rebuilding the DNS will fix that problem.
Also resets winsock entries & resets TCP/IP stack.
These extra co妹妹ands are run on Windows vista and newer.
执止完以下几条号令而后重封,便可建复端标语映射得败答题,此述不只仅限于Virtualbox要运用的端心映射,其余任何硬件运用到端心映射且得败时能够思考用以下几条号令建复:
netsh winsock reset all
netsh int 6to4 reset all
netsh int ipv4 reset all
netsh int ipv6 reset all
netsh int httpstunnel reset all
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
如上那些号令起源于Windows建复东西外此中一项
若是有其余Windows答题能够测验考试用此东西镜像建复。
相关文章