Run Web Application on Google Colab Port Selection Port Command Unused Port import portpicker port = portpicker.pick_unused_port() Or Custom Port port = 8000 Custom Port port = 8000 port = 8000