search

Home  >  Q&A  >  body text

windows-7 - Vmware Workstatoin in Win7 conflicts with Apache server port in Xampp?

As shown in the picture:

It can be seen that port 443, which originally belonged to Apache, is occupied by the Vmware Worstation service.
You can also see the process name and configuration file name used by Vmware from the error message. Please ask how to modify the configuration information of Vmware so that the ports do not conflict.

習慣沉默習慣沉默2775 days ago645

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-16 17:03:04

    Ask and answer your own questions.
    I just tried it, reconfigured the port number of the Vmware virtual machine service, changed 443 to 903, restarted the computer and it was OK.
    The specific configuration is to edit C:ProgramDataVMwarehostdproxy.xml with Root permission and change the

    <httpsPort>443</httpsPort>

    Changed to 903. It is best to back up the original proxy.xml.
    The result picture above:

    Ignore the port numbers of a lot of other processes. After restarting the computer, the three vmware services are the three 0.0.0.0. The other vmware processes are the processes after I started the virtual machine on the computer for testing. There is currently no conflict, but I am not sure which other popular applications are using 903, and it is unknown whether it will conflict with other processes in the future.

    Update, I suddenly thought that there is a reason why Vmware occupies 443, because if you install the httpd service in the virtual machine Linux, you can use the browser on the win7 host to access the httpd homepage of Linux, because the host and virtual machine pass Vmware Virtual network cards form a local area network. But now I change the 443 occupied by Vmware to 903, and there is no way to do this. I'm not very familiar with this, so I haven't tested it yet.

    But it doesn’t matter. Anyway, between XAMPP and httpd on Linux, only one of the two Apaches can occupy 443 of the win7 host. I still choose to give this 443 to XAMPP.

    reply
    0
  • Cancelreply