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

Default EASE API port clashes with a macOS process #9

Open
adriangranados opened this issue Jul 9, 2022 · 2 comments
Open

Default EASE API port clashes with a macOS process #9

adriangranados opened this issue Jul 9, 2022 · 2 comments

Comments

@adriangranados
Copy link
Collaborator

It appears that in macOS Monterey, a system process already uses port 5000 and conflicts with the default EASE API port, also 5000.

We need to use a different port. 6000?

@gitzone83
Copy link

It is just enough to modify the Vargrant file in the ease directory to use different port number, I switched to 25000 with no issues.

cat Vagrantfile 
Vagrant.configure(2) do |config|
  config.vm.box = "intuitibits/ease"
  if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false
  end
  config.vm.provider "virtualbox" do |vb|
    vb.name = "EASE"
    vb.memory = "1024"
    vb.cpus = "2"
    vb.default_nic_type = "virtio"
    vb.customize ["modifyvm", :id, "--usb", "on"]
    vb.customize ["modifyvm", :id, "--usbxhci", "on"]
  end
  config.vm.provision :file, source: "ease.py", destination: "ease.py"
  config.vm.provision :file, source: "ease", destination: "ease"
  config.vm.provision :shell, path: "bootstrap.sh"
  config.vm.network "forwarded_port", guest: 25000, host: 25000
  config.vm.post_up_message = "External Adapter Support Environment (EASE)"
end

@adriangranados
Copy link
Collaborator Author

That resolves the conflict when booting the image, but WiFi Explorer Pro only knows about port 5000. Changes need to be made in WiFi Explorer Pro to use a different port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants