Skip to content

【Angular】 #154

Description

@deepthan

1. 如何让别人可以访问自己本地启动的服务

使用ipconfig查看自己的ipV4地址,如192.168.16.11,之后在加上--host 192.168.16.11 ,关闭本地防火墙别人即可访问你的项目。

也可以直接使用--host 0.0.0.0启动。
访问地址
192.168.16.11:4200

启动方式
ng server --host 192.168.16.11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions