SpatiumPortae / portal

Portal is a quick and easy command-line file transfer utility from any computer to another 🌌 ✨
https://portal.spatiumportae.com
MIT License
1.47k stars 38 forks source link

the relay_serve_port value is not taken into account from the config file #63

Closed ludetie closed 5 months ago

ludetie commented 1 year ago

Hello,

The relay_serve_port value is not taken into account from the config file (Windows 11) : image the behavior is the same on Ubuntu: image

Regards,

ZinoKader commented 1 year ago

Hi! The relay_serve_port regards the port at which the portal serve command would start the server.

Setting relay_serve_port: 9999 would spare you from always specifying that port when running the relay server: portal serve -p 9999.

To always use a certain port when sending or receiving, you can specify that port as part of the relay configuration field. So relay: 192.168.50.13:3188 would connect to the relay at that IP:port combination, without specifying it manually each time.

Will document this more in the README so that we can avoid confusion, as the naming is admittedly quite confusing!

ludetie commented 1 year ago

OK ! Thank you !!

Regards,