Trying to create a “Hello world” EventStore proof-of-concept using a single-node EventStore installation on a Vagrant Ubuntu box.
Relevant portion of Vagrantfile:
config.vm.define :eventstore do |x|
x.vm.box = “ubuntu/trusty64”
x.vm.provider :virtualbox do |v|
v.name = “eventstore”
v.customize [“modifyvm”, :id, “–memory”, 3000]
end
x.vm.network :private_network, ip: 10.211.54.20
x.vm.hostname = “eventstore”
x.vm.network “forwarded_port”, guest: 2113, host: 12113
end
``
Once up and running, I ran the following commands from my Vagrant SSH:
curl -s https://packagecloud.io/install/repositories/EventStore/EventStore-OSS/script.deb.sh | sudo bash
sudo apt-get install eventstore-oss
sudo service eventstore start
``
Service seemed up and running. From the Vagrant box, I can access the UI internally like so:
curl http://127.0.0.1:2113/web/index.html
``
However, from my host machine (running Windows 7) Chrome browser, I can’t seem to connect:
- Trying http://localhost:12113/web/index.html (the forwarded port), I get ERR_CONNECTION_ABORTED; The webpage at http://localhost:12113/web/index.html might be temporarily down or it may have moved permanently to a new web address.
- Trying http://10.211.54.20:2113/web/index.html (the private IP), I get ERR_CONNECTION_REFUSED; 10.211.54.20 refused to connect.
Please clue this newbie in: what obvious and important step have I missed here?