kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.25k stars 976 forks source link

Can't control kitty over network TCP #7794

Closed hainkind closed 1 month ago

hainkind commented 1 month ago

Describe the bug A clear and concise description of what the bug is. So I'm trying to control kitty over my home network. I can see and reach the ports but kitty won't talk to them. It works on the same machine.

image

image

any ideas what's going on? or did i misunderstood the feature?

kovidgoyal commented 1 month ago

If you ask kitty to listen on localhost then you can only connect on localhost. You need to choose the proper address to listen on, presumably the IP address of whatever network card is connected to your LAN

hainkind commented 1 month ago

i had kitty listen on 0.0.0.0

hainkind commented 1 month ago

otherwise nmap and nc shouldn't have been able to connect to it....

hainkind commented 1 month ago

it also doesn't work if directly specify the interface to listen on e.g. listen_on tcp:192.168.178.20:12345

if it would be a networking issue i should't be able to connect with nc.

i know assuming that everybody is stupid is a good heuristic 90% of the time, but i think this time you're wrong.

kovidgoyal commented 1 month ago

i had kitty listen on 0.0.0.0

Since you didnt bother including this or indeed any of the information asked for in the issue template, how am I supposed to know that? Reading your mind? Magic? Wasting my time peering at your screenshots trying to figure out what you are doing?

Given your attitude I have zero desire to help you. Good luck figuring out your issue and if you do figure it out feel free to send a PR.

hainkind commented 1 month ago

sorry i don't have much time atm and i thought that the screenshots explain it better then many words. but i have to admit that ignoring your template and expecting you to figure my screenshots out is a bit of a dick move. Sorry!

kovidgoyal commented 1 month ago

No worries. It issue is already fixed in master in anycase: https://github.com/kovidgoyal/kitty/commit/fdc3c3d7c1fd503785ebbd9a531f55ca1e4493b6