hfiref0x / LightFTP

Small x86-32/x64 FTP Server
BSD 2-Clause "Simplified" License
232 stars 83 forks source link

Failed to start server. Can not bind to address #29

Closed Mirabeau2Code closed 9 months ago

Mirabeau2Code commented 1 year ago

Hi

if fftp running as a user get : "Failed to start server. Can not bind to address" (and not quit (!) when got this error)

it must be running as root to running ok

i try bind different config: interface=0.0.0.0

interface=192.168.0.112

why can't running as a simple user ?

hfiref0x commented 1 year ago

https://www.baeldung.com/linux/bind-process-privileged-port

ruikangPeng commented 1 year ago

@Mirabeau2Code Hi, I solved this problem by modifying the fftp.conf file. Specifically, it means changing the IP and subnet mask in the fftp.conf file to the local IP and subnet mask. Hope it can help you.

08183080 commented 11 months ago

you just sudo.

08183080 commented 10 months ago

you can sudo, also you can change a random port that is above 1023.

UldisRinkevichs commented 9 months ago

Closed as stale