Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/code-server
/ port
Method
port
test/utils/httpserver.ts:99–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
}
98
99
public port(): number {
100
const
addr = this.hs.address()
101
if
(addr && typeof addr ===
"object"
) {
102
return
addr.port
103
}
104
throw
new
Error(
"server not listening or listening on unix socket"
)
105
}
106
}
Callers
1
proxy.test.ts
File · 0.80
Calls
1
address
Method · 0.45
Tested by
no test coverage detected