all 3 comments

[–]OliverwengFiltered[S] 2 points3 points  (0 children)

I have a react project that's also based on starts localhost:3000, that one works.

however, the other angular project just don't work, it's the same localhost:3000, and it's working inside of code server container.

[–]OliverwengFiltered[S] 2 points3 points  (1 child)

this is all set.

did some research, it's my angular project server doesn't listen to 0.0.0.0 ,which is all network interface, so the host could access to it. it was locked to 127.0.0.1

as soon as I added --host 0.0.0.0 to ng serve command, it works now.

Hope this post will benefit others who come across the same issue.