Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Deployment Guide—Red Hat OpenShift Container Platform 4.2 > Application routes
To access applications that are deployed within the OpenShift cluster that is using images or source code from GitHub, you can use the service IP that is associated to the deployments. External access to the applications is not available by default.
To enable access to the applications from an external network:
oc login -u <user name>
oc project <project name>
Now using project "<project name>" on server "https://api.ocp.example.com:6443".
oc get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
hello-openshift ClusterIP 172.30.92.106 <none> 8080/TCP,8888/TCP 23h
Note: Typically, the name of the service is the same as the name of the deployment.
oc expose svc/hello-openshift
route.route.openshift.io/hello-openshift exposed
oc get routes
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
hello-openshift hello-openshift-ocp42.apps.ocp.example.com hello-openshift 8080-tcp
Note: The URL to connect to the application is
hello-openshift-ocp42.apps.ocp.example.com.