Giter Club home page Giter Club logo

rabbitmq-demo's People

Contributors

vanbosse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rabbitmq-demo's Issues

ECONNREFUSED

Don't know if there is a better place for this question.

I'm trying your example and installation instructions on a mac running Yosemite and MAMP pro. Getting this error when trying to run "node js/server.js":

node js/server.js

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:904:11)
    at Object.afterConnect [as oncomplete] (net.js:895:19)

Firewall is disabled, so all ports are open. MAMP is running on port 80. Browsing to localhost:8080 gives a 404, so presumably there's nothing else listening on the port.

How to set up a vhost for node js?

I'm confused about how this is supposed to work.

Your readme file says, "setup a vhost to your folder". So presumably you mean adding a VirtualHost in httpd.conf (for example) which maps a domain name (like rabbit-demo.dev) to that folder on port 80.

With that in place however, the call to socket.io fails: (failed) net::ERR_CONNECTION_REFUSED. It seems to be trying to connect to http://localhost:8080/socket.io/socket.io.js

I've checked that port 8080 is open in iptables and also SELinux is not throwing any audit errors.

So I'm stumped. Any chance you could elaborate a bit more on the vhost and port setup?

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.