title: Express JS - Using server side JS check if app is running on localhost
body: <p>I am needing to check if my node js app using ExpressJS is running on my localhost (Development env.) and not on the live server and execute certain code if so. This has to be done server side. Any ideas how to check this?</p>