Coder Social home page Coder Social logo

Comments (3)

lookfwd avatar lookfwd commented on August 21, 2024

Hello, yes - in general it works fine in Win 10. Let's do a TeamViewer session - it usually takes little time to fix. Contact me via e-mail to arrange a suitable time. Cheers!

from scrapybook.

johnscrapetest87 avatar johnscrapetest87 commented on August 21, 2024

from scrapybook.

lookfwd avatar lookfwd commented on August 21, 2024

The laptop has a 2-core processor, so very good idea to use the 32-bit image. Everything worked well but just before it starts the VM it was giving the following error:

vagrant/util/is_port_open.rb:21:in `initialize': The requested
    address is not valid in its context. - connect(2) for
    "0.0.0.0" port 9312 (Errno::EADDRNOTAVAIL)
  from C:/HashiCorp/Vagrant/embedded/gems/gems/
    vagrant-1.9.3/lib/vagrant/util/is_port_open.rb:21:in `new'
  ...
  from C:/HashiCorp/Vagrant/embedded/gems/gems/
    vagrant-1.9.3/lib/vagrant/util/is_port_open.rb:19:in `is_port_open?'

After some googling, it appears to be this. So all I had to do is to add the host_ip: "127.0.0.1", while starting the port-forwarding, as suggested in that thread.

The computer was also running MySQL on 3306 thus there was a conflict causing another error at VM load. I disabled port forwarding for MySQL. Here are the updated settings on Vagrantfile.32:

# Setting up ports
(
	[9200] +                      # ES
	#[6379] +                      # Redis
	#[3306] +                      # MySQL
	[9312] +                      # Web
	[6800] +                      # Scrapyd
[]).each do |port|
	config.vm.network "forwarded_port", host_ip: "127.0.0.1", guest: port, host: port
end

It all worked fine after that.

from scrapybook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.