Skip to content

-a is not working #709

@jorwong

Description

@jorwong

Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.

http-server index.html -a 0.0.0.0 -p 8080

What did you expect to happen?
Running this command should open up 0.0.0.0:8080. However, it reverted back to using localhost instead.

Starting up http-server, serving index.html
Available on:
http://127.0.0.1:8080
http://172.18.0.2:8080

If the issue is a feature request, what is the motivation / use case for it?

Tell us about your environment

  • exact http-server version: v0.12.3
  • Node version: v10.19.0
  • Platform: Ubuntu

Other information (related issues, suggestions for a fix, etc):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions