You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am learning OC and deployed the app from commandline.
When doing oc expose service/blog-django-py
It exposes it on port 8080, it works fine and I can access the site. However, my question is that all demos for openshift use port 8080 and as I am not expert in django application, is 8080 hard coded in the application?
Can we change the port for the service?
Thanks in advance
The text was updated successfully, but these errors were encountered:
This repo is only to report issues related to the instruqt deployment of the OpenShift course, not about generic OpenShift client and OpenShift service related questions.
Next time try running:
PS> oc expose
...
Usage:
oc [flags] [options]
Use "oc <command> --help" for more information about a given command.
and you will learn you can do:
PS> oc expose --help
...
--port='':
The port that the service should serve on. Copied from the resource being exposed, if unspecified
...
Hi, I am learning OC and deployed the app from commandline.
When doing
oc expose service/blog-django-py
It exposes it on port 8080, it works fine and I can access the site. However, my question is that all demos for openshift use port 8080 and as I am not expert in django application, is 8080 hard coded in the application?
Can we change the port for the service?
Thanks in advance
The text was updated successfully, but these errors were encountered: