I don't think mafia by default allows connections from other computers, just localhost.
If there isn't a preference to set somewhere and you are not comfortable/profficient enough to change it in sourece code, you are looking at either
1) setting up some kind of proxy on the ocmputer running your kolmafia, setting the proxy to accept connections from your other device and forward it to mafia (somehow) or
2) setting up a tunnel (but I only know how to do that if the computer running mafia already has a running ssh server). The result would be that on your device you would have a (ssh) client listening to some port (you can make it 60080 too, if you want, so you don't have to juggle which number to use on which device), connecting to the mafia computer, and connecting to mafia locally there.