Skip to content

Express IP binding issue? #3

@lazydino

Description

@lazydino

Hi Nikolay,

There is a IP binding situation I could not figure out. The express server seems unable to serve from IP other than localhost? I am fine with http://localhost:3007, but was refuse of connections with url like "http://[myip]:3007" ? Chrome will even go and rewrite the URL as "https:[myip]:3007"? The older branch of lcs-v0.1 , which doesn't use express js, does not seem to have the problem.

I go and change index.js:84 to force it bind my IP like

var srv = ssl ? https.createServer( sslOptions, app ).listen( port, '192.168.1.84' ) : http.createServer( app ).listen( port, '192.168.1.84' );

It still does not work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions