linux sysadmin

this problem doesn't break anything but i'm bewildered as to why it is happening

i added lines to /etc/services to help me remember what port does what when i'm looking at the output from ss (formerly known as netstat). for only some of the custom entries, it doesn't work

getent services 42069 works

python -c 'import socket; print(socket.getservbyport(42069)) returns iocaine

but ss -at shows 127.0.0.1:42069
between other entries that do use my names

0

If you have a fediverse account, you can quote this note from your own instance. Search https://tiny.tilde.website/users/pho4cexa/statuses/116240371192327055 on your instance and quote it. (Note that quoting is not supported in Mastodon.)