Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxifier prevents Vagrant from binding port #34

Open
ColdZoo opened this issue Jun 17, 2020 · 0 comments
Open

Proxifier prevents Vagrant from binding port #34

ColdZoo opened this issue Jun 17, 2020 · 0 comments

Comments

@ColdZoo
Copy link

ColdZoo commented Jun 17, 2020

Environment
Vagrant 2.2.9
VirtualBox 6.1.10 r138449 (Qt5.6.3)
Maven home: 3.6.3_1
Java version: 13.0.2(openjdk)
OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
Proxifier: v2.26

When executing mvn install with Proxifier running, the mvn complaints that the port '27017' is
bound to another process. However, netstat -ntlp | grep 27017 indicates that nobody is listening on it.

To make things even stranger, after changing the port 27017 to 27018, which is also available, in VagrantFile, mvn insists that 27018 is now the conflicting port. mvn install then fails at the 'vm' module.

After some research, I have come to realize that it is the Proxifier who prevent Vagrant from binding port. So, if you are using Proxifier and have encountered the same problem as me, the procedure to build VM is as follows:

  1. quit Proxifier
  2. cd vm && vagrant destroy this will remove the VM built by previous attempts.
  3. wait until the port has bound
  4. start Proxifier (for we need download packages after VM's start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant