I still don't understand. Production doesn't need to worry about ports right? So is all this code just for the dev environment?