I think you need to connect the two computers on the same network, and then identify the ip address of your machine on which the angular application is to start and when starting the application use the following command
ng serve --host your-local-ip-address
and to access it from the other computer your-local-ip-address: port-number
exmple: 192.168.1.114:4200
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…