The ports object
The shared ports of a VM.
{
"name": "web1",
"state": "awake",
"edge": true,
"public": [
{
"port": 8000,
"url": "https://web1-8000--acme.shakoapp.dev",
"tcp": "tcp.shako.dev:10042"
}
],
"private": [],
"listening": [
22,
8000
]
}Fields
namestring- The VM's name.
stateVmState- The state of the VM.
edgeboolean- true: the URLs work now.
publicPublicPort[]- The public ports.
privatePrivatePort[]- The private ports.
listeningnumber[] | null- The common ports on which a program listens, or null when the VM is not awake.