Changing getattr to get from app.conf to grab application host and port information from settings.