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]
x.vm.network :private_network, ip: 10.211.54.20
x.vm.hostname = “eventstore”
x.vm.network “forwarded_port”, guest: 2113, host: 12113
Once up and running, I ran the following commands from my Vagrant SSH:
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:
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?