Top
Best
New

Posted by graiz 2 days ago

I Got Sick of Remembering Port Numbers(gregraiz.com)
43 points | 27 commentspage 2
elchief 1 hour ago||
I'm slightly annoyed that vite's default port isn't 8483
chrisweekly 1 hour ago|
why?
kseistrup 1 hour ago||
VITE typed on a T9 keyboard is 8483.
hdjrudni 41 minutes ago|||
5173 spells Vite...

173 looks like ITE

5 in roman numerals is V.

ButlerianJihad 45 minutes ago|||
T9 is predictive and based on a dictionary and training.

If you type "8483" on T9, your phone may offer "THUD" or "TITE" or all three, as choices.

But with a normal telephone keypad, if you dial, e.g. "(800) 555-VITE" then you will always dial "8483".

https://en.wikipedia.org/wiki/Phoneword

Also, a service port is always qualified by its protocol. There are separate port namespaces for each IP protocol that uses ports. "8483" is not a service port, until you spell it out:

  8483/tcp
or

  8483/udp
or

  8483/sctp
or

  8483/dccp
etc.

A TCP stream, for example, consists of a tuple:

  src:port1 dst:port2
nektro 1 hour ago||
i have something like this too, currently a 60 line nodejs file
system2 1 hour ago||
It is funny, I just built something like this last week and named it "Network". Additionally it scans for any type of data packages arriving at the SonicWall and sees if they are approved by me or not. I am paranoid after using TP Link at home like a dumbass.
hahahacorn 2 hours ago||
Bind to Port 0
yunruse 2 days ago||
This project is essentially "give me some metadata & a command which takes env $PORT, and I'll handle the rest". Which is neat!

I am also sick of handling port numbers - I end up allocating them on a schema to different services, so for testing I can spool any VM/service combination and avoid crossover. But if I want the same service twice, ah...

It always fascinated me that ports don't have any kind of textual resolver, so you can bind to `:1234` and also say "please also accept `:foobar`". But that would itself require some kind of "port resolver" on a device, and that's another service to break and fix :)

winstonwinston 2 days ago|
There is /etc/services to map port numbers to service names, and using getportbyname() to resolve port numbers.
axus 2 hours ago||
DNS for /etc/hosts and now vibe.local for /etc/services. What will they think of next!
miyuru 1 hour ago||
SVCB DNS records
simoncion 1 hour ago||

  getservbyname(3)
dfordp11 1 hour ago|
[dead]