Gioni06 / whereserver

Whereserver is a command line utility to find the PID and URL of a development server that's running on your machine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whereserver

Whereserver is a command line utility to find the PID and URL of a development server that's running on your machine.

I wrote this utility because I often forget which port a development server is running on. Also sometimes a server is running in some background process, and I have to manually find the PID of the process and kill it.

sh install.sh
$ whereserver
| Port | PID   | URL                     |
|------|-------|-------------------------|
|   80 | 2410  | http://127.0.0.1:80     |
| 5174 | 37259 | http://127.0.0.1:5174   |

About

Whereserver is a command line utility to find the PID and URL of a development server that's running on your machine.


Languages

Language:Rust 85.0%Language:Shell 15.0%