ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

Unable to access http://localhost:8888/ #307

Open terencebeh opened 7 years ago

terencebeh commented 7 years ago

I am running Windows 10. After executing "vagrant up", I see that the VM is running in Oracle VM Virtual Box Manager. I then trying opening http://localhost:8888/ on the host machine but I got this error:

This site can’t be reached

The webpage at http://localhost:8888/ might be temporarily down or it may have moved permanently to a new web address. ERR_SOCKET_NOT_CONNECTED

Not sure what I am missing here. Any help is very much appreciated.

terencebeh commented 7 years ago

Additional info below as I run the vagrant up for the first time:

terence@DESKTOP-AOJ22L6 MINGW64 ~/Mining-the-Social-Web-2nd-Edition-master $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'precise64'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: Mining-the-Social-Web-2nd-Edition-master_default_1470536915010_71914 ==> default: Auto-generating node name for Chef... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 8888 (guest) => 8888 (host) (adapter 1) default: 5000 (guest) => 5000 (host) (adapter 1) default: 27017 (guest) => 27017 (host) (adapter 1) default: 27018 (guest) => 27018 (host) (adapter 1) default: 27019 (guest) => 27019 (host) (adapter 1) default: 28017 (guest) => 28017 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 4.2.0 default: VirtualBox Version: 5.1 ==> default: Mounting shared folders... default: /vagrant => C:/Users/teren/Mining-the-Social-Web-2nd-Edition-master default: /tmp/vagrant-chef/97db8847ba8165cce513be1fce314106/cookbooks => C:/Users/teren/Mining-the-Social-Web-2nd-Edition-master/deploy/cookbooks ==> default: Running provisioner: chef_solo... default: Installing Chef (latest)... Vagrant attempted to execute the capability 'chef_install' on the detect guest OS 'linux', but the guest doesn't support that capability. This capability is required for your configuration of Vagrant. Please either reconfigure Vagrant to avoid this capability or fix the issue by creating the capability.

terence@DESKTOP-AOJ22L6 MINGW64 ~/Mining-the-Social-Web-2nd-Edition-master $

rreben commented 7 years ago

I made a fork, with some adjustments. It is working for me (Windows 7, OSX and it is reported to work with Windows 10, see issue #304). https://github.com/rreben/Mining-the-Social-Web-2nd-Edition