Bad gateway when viewing app in ionic view

Hello…Why do i get 502:bad gateway when viewing app in ionic view