Listen to localhost only in prod mode.