Rename port environment variable to something more specific
Return 404 if the device is not found