how to solve the 504 gateway time out issue ?

After I completed App module , i want to publish the app in server, after i publishing it works after sometimes it shows error as " 504 gateway time out "  why it showing often & how to solve this issue ? I want my software continuously work in web server . how to do that ?  
0 answers