Skip to content
This repository was archived by the owner on Apr 9, 2018. It is now read-only.
This repository was archived by the owner on Apr 9, 2018. It is now read-only.

Stop vm:start when there is a problem #68

@poupotte

Description

@poupotte

For example, if a couchdb is started on host, vm:start log :

==> default: Clearing any previously set forwarded ports...
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 5984 is already in use
on the host machine.

To fix this, modify your current projects Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:

  config.vm.network :forwarded_port, guest: 5984, host: 1234

Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.

After that, command continues (check status, check version, ....). Command should be stopped.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions