Can't connect in browser to new Vagrant box with EventStore

500 views
Skip to first unread message

Zach Blocker

unread,
Apr 15, 2016, 1:58:17 PM4/15/16
to Event Store
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:


However, from my host machine (running Windows 7) Chrome browser, I can't seem to connect: 

Please clue this newbie in: what obvious and important step have I missed here? 

Zach Blocker

unread,
Apr 18, 2016, 3:13:59 PM4/18/16
to Event Store
What I forgot to do: edit /etc/eventstore/eventstore.conf and set the ExtIp property.  

Major RTFM... sorry for the noise, hope this helps other people who are rushing and not reading...

Peter Saxton

unread,
Sep 1, 2016, 9:28:30 AM9/1/16
to Event Store
Hey Zach,

Can you share the config that you needed or perhaps even your whole vagrant setup. I have reached the same issue but am far from familiar with vagrant so a bit stuck at the moment

Peter Saxton

unread,
Sep 3, 2016, 8:53:44 AM9/3/16
to Event Store
So i got this working. If anyone wants a look I have put a copy here

https://github.com/CrowdHailer/Almighty/tree/master/eventstore
Reply all
Reply to author
Forward
0 new messages