Skip to content

Lookup port for an address (v1.3.0)#3

Merged
klevo merged 3 commits intomainfrom
get-port
Feb 15, 2026
Merged

Lookup port for an address (v1.3.0)#3
klevo merged 3 commits intomainfrom
get-port

Conversation

@klevo
Copy link
Owner

@klevo klevo commented Feb 15, 2026

Looking up a port by address

locport port ADDRESS

Examples:

locport port alpha.localhost
locport port http://alpha.localhost

Lookup compares addresses after removing a leading http:// prefix from both sides.
If no address is found, command exits with code 1 and produces empty output.

@klevo klevo merged commit a909d4a into main Feb 15, 2026
4 checks passed
@klevo klevo deleted the get-port branch February 15, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant