Problem:to Connect with MySQL in Virtual PC environment

Source: Internet
Author: User

I ' m trying to build a 1:n dev Environment,with the "help of Vsever" (just like VMware worked on sever)

Things seem to is OK while I copy the OS mirror to the Virtual PC and install it.

Building My IDE (PYTHON+NPP), installing libraries needed, vcredist_x64 and WAMP is also small case.

The IPs config just like this:

10.10.x.x is the IP of Virtual PCs and 172.16.x.x is of Real PCs.

The net gate join 10.10.10.1 with 172.16.1.1 so, the V and the R are combined as one.

10.10.10.130---------------------|

10.10.10.131---------------------|

10.10.10.132---------------------|

10.10.10.133---------------------|

10.10.10.134---------------------|

|

NET gate:10.10.10.1--::---172.16.1.1

|

172.16.6.66 (+10.10.10.197)----|

After all above,i start the Wampserver service and got a green status, it worked!

check into my pc, type http://10.10.10.130:80 in the broswer::the traditional WAMP index page appears--connecting with Virtual PC by htt P is ok!

Reverse

Start Wampserver in real PC and type http://172.16.6.66:80 can get the same result

It seems that all things is ok,but, while I try to use Navicat connect whit mysql in 10.10.10.130:3306, I got a 10061.

To my confused,it's OK to connect 172.16.6.66:3306 with Navicat from Virtual PC (10.10.10.130).

Just like this:

From Http: (in Broswer)

10.10.10.x <--------------------> 172.16.6.66

From Ip:port (in Navicat)

10.10.10.x---------------------> 172.16.6.66

10.10.10.x <-----------x---------172.16.6.66

I Wander if there is some fucking configuration in the ip_conf

After several trys ... Orz

Chart with friends in QQ Group and XXX says, it may because of the fire wall configuration.

Googled it!

In the fire Wall Configuration:

Build a new port rule that allow the 3306 Blablablabla.

Named the rule with a XXX name and save

over~

Problem:to Connect with MySQL in Virtual PC environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.