How to start my app in http and https ports?


Ushani Balasooriya
 

My app should start in https:9443 ports. How can I achieve this?

This should be my login url : https://localhost:9443/carbon/

If I use Diego container, should it always be port 8080? Please point me to a proper document where I can deploy my image in PCF to start on https port?

This is my log:

2017-09-12T18:14:55.382+05:30 [API/0] [OUT] Created app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad
2017-09-12T18:14:57.446+05:30 [API/0] [OUT] Updated app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad ({"route"=>"7d708d12-35fa-4fc2-9a87-3d4f8e8fac17", :verb=>"add", :relation=>"routes", :related_guid=>"7d708d12-35fa-4fc2-9a87-3d4f8e8fac17"})
2017-09-12T18:15:01.708+05:30 [API/0] [OUT] Updated app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad ({"state"=>"STARTED"})
2017-09-12T18:15:01.723+05:30 [STG/0] [OUT] Creating container
2017-09-12T18:15:01.928+05:30 [STG/0] [OUT] Staging...
2017-09-12T18:15:01.928+05:30 [STG/0] [OUT] Successfully created container
2017-09-12T18:15:01.986+05:30 [STG/0] [OUT] Staging process started ...
2017-09-12T18:15:06.062+05:30 [STG/0] [OUT] Staging process finished
2017-09-12T18:15:06.066+05:30 [STG/0] [OUT] Exit status 0
2017-09-12T18:15:06.066+05:30 [STG/0] [OUT] Staging Complete
2017-09-12T18:15:06.095+05:30 [STG/0] [OUT] Destroying container
2017-09-12T18:15:06.260+05:30 [CELL/0] [OUT] Creating container
2017-09-12T18:15:06.378+05:30 [STG/0] [OUT] Successfully destroyed container
2017-09-12T18:15:20.061+05:30 [API/0] [OUT] Updated app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad ({"memory"=>2048, "disk_quota"=>1024})
2017-09-12T18:15:20.157+05:30 [API/0] [OUT] Updated app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad ({"state"=>"STOPPED"})
2017-09-12T18:15:20.382+05:30 [API/0] [OUT] Updated app with guid fd8a0ddd-06ba-441a-94c7-73a0099589ad ({"state"=>"STARTED"})
2017-09-12T18:15:20.391+05:30 [CELL/0] [OUT] Creating container


=======

{
"staging_env_json": {},
"running_env_json": {},
"environment_json": "invalid_key",
"system_env_json": {
"VCAP_SERVICES": {}
},
"application_env_json": {
"VCAP_APPLICATION": {
"cf_api": "http://api.local.pcfdev.io",
"limits": {
"fds": 16384,
"mem": 2048,
"disk": 1024
},
"application_name": "is5.3.0",
"application_uris": [
"is530.local.pcfdev.io"
],
"name": "is5.3.0",
"space_name": "pcfdev-space",
"space_id": "a725ead6-283c-481d-b727-251865593e67",
"uris": [
"is530.local.pcfdev.io"
],
"users": null,
"application_id": "fd8a0ddd-06ba-441a-94c7-73a0099589ad",
"version": "d4a02bd7-e358-490a-9498-1c359882e5cd",
"application_version": "d4a02bd7-e358-490a-9498-1c359882e5cd"
}
}
}

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.