Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't change the port vsftpd is listening on
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Thu Nov 13, 2003 11:52 am    Post subject: Can't change the port vsftpd is listening on Reply with quote

Hey,
I used to run vsftpd on port 2121 from xinetd since my isp blocked all ports below 1024. Now I changed from isp and I want it to run back on port 21. I changed the port in /etc/xinetd/vsftpd back to 21, but when I restart xinetd and I check my logs, it says that vsftpd expects to be run on 2121.
In /etc/vsftpd/vsftpd.conf there is no occurence of a port.
If put the port back on 2121 in the xinetd/vsftpd file, vsftpd get's started, otherwise it doesn't. Also, the config file that is listed in xinetd/vsftpd points to the right one.

I'm guessing that vsftpd is getting the port 2121 preference from somewhere, but I can't figure out from where.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Thu Nov 13, 2003 12:25 pm    Post subject: Reply with quote

that's funny, maybe you edited /etc/services as well?
does
Code:
grep -r 2121 /etc
tell you anything interesting?
if not, posting your /etc/xinetd/vsftpd and the exact message in your syslog could help.
Back to top
View user's profile Send private message
dfuse
Guru
Guru


Joined: 07 Apr 2003
Posts: 395
Location: Belgium

PostPosted: Thu Nov 13, 2003 12:53 pm    Post subject: Reply with quote

I'm not home at the moment so I can't say for sure if I edited services as well but I'm 90% sure, because I had some problems making vsftpd run on 2121 before, and a friend helped me, I seem to remember that he edited my services file. Thanks alot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum