Remote Access to FTP server not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remote Access to FTP server not working
# 1  
Old 10-16-2008
Remote Access to FTP server not working

I am trying to setup an FTP server in a Fedora Core 3 machine through the command line interface and not KDE.

I think I am successful in getting the ftp service running, as when I do an ftp 127.0.0.1, I am able to log in using any one the user accounts I have created on this machine and browse the files.

But when I try to ftp to this machine from another machine, I am not able to connect to it. I tried this through Filezilla from a windows machine as well as telnet to the ftp server and ftp to that machine from another unix machine, no joy.

I have two ftp servers or daemons running, one is the Kerberos gssftp and the other is ncftp. I am not using both at the same time, when I try each one seperately I am able to , 'ftp 127.0.0.1' and log in but not remotely.

Please advise or point me towards what I could be doing wrong.
# 2  
Old 10-16-2008
What message do you get when you telnet to the ftp server?
# 3  
Old 10-16-2008
When I try to telnet using putty through windows it says connecting and then closes the window.

When I try to telnet from a unix machine which I have ssh'ed through putty it just says

Trying <IP-ADDRESS>
telnet: Unable to connect to remote host: No route to host

Last edited by cooljumbo2k8; 10-16-2008 at 12:17 PM..
# 4  
Old 10-16-2008
Humm, from the Fedora machine are you able to access other machines or the Internet? Is this machine on a different LAN or LAN segment or behind a different firewall?
# 5  
Old 10-16-2008
It's on the same network as the rest of machines, I want to be able to ftp from.

In other words I am not able to ftp to this machine from PCs that are on the same network as this machine.
# 6  
Old 10-16-2008
Bug May be the problem because of iptables

Check the iptables ( Linux Firewall) status
service iptables status

if it is running, Please stop that...
service iptables stop.

if that is not solving your problem... Please check IP address and netmask for both Client and Server.... That will give you some idea...

Actuallly iptables concept should work...
praveen kumar05
# 7  
Old 10-16-2008
Hey Praveen Kumar05,

Stopping iptables did the trick. Thank you

Since I am still learning Unix could you give me a back ground as to what iptables did and why stopping it helped.

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

2. Shell Programming and Scripting

Multi server access through remote server using ssh

Team, Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress one at a time and login as below for that specific ip address ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in> password features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies

3. Shell Programming and Scripting

FTP using script not working (for transfering file from a remote unix server to windows PC.)

hi, Im using the following code for FTP #!/usr/bin/ksh ftp -v -n "10.29.45.11" << cmd user "mahesva" "mahesva123" get rtl.tar quit cmd Below is the log when i run the above code ********************************** Connected to 10.29.45.11. 220 (vsFTPd 2.0.1) 530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies

4. Shell Programming and Scripting

preserving the timestamp of a file when copied from remote server to local server using ftp

Hi, I need to copy few files from remote server to local server. I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed. ... (5 Replies)
Discussion started by: arunkumarmc
5 Replies

5. Shell Programming and Scripting

Can a script runned in local server access remote server?

Hi, Im creating a script that is supposed to run commands on remote server using sftp. My script is as below: #!/bin/ksh sftp remote_server mypassword cd /u08/mydir/allfiles mget * .. But this is what I got when I runned the script: Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies

6. UNIX for Dummies Questions & Answers

TomCat access in an Remote Linux Server

Hi all, I Installed Tomcat in an remote linux server (/usr/tomcat)and start service, using ./startup.sh (and tried with ./catalina.sh too). //----------------------------------------------------------------// # ./startup.sh Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.16/ Using... (1 Reply)
Discussion started by: gothama
1 Replies

7. UNIX for Advanced & Expert Users

remote web server access (apache)

Hi, I have web server (apache) installed in server-1 and i want to view the web pages from diferent servers also while the web server is running only in one server ....(all the servers are connected to office LAN) right now all the servers have apache running......and CPU utilzation is at its... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

8. Shell Programming and Scripting

remote server access

hi everybody, im kinda a new to scripting.... i have attached an image in this post... my goal is to extract data from the remote servers (server1,2,3 as in figure) to the server residing locally.... the criterias are: * I should not pass the password across the remote servers. *... (1 Reply)
Discussion started by: mercuryshipzz
1 Replies

9. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies

10. UNIX for Dummies Questions & Answers

FTP - remote access

Hi All, I want to ftp a file from Windows 2000 to Unix. The file is present in a remote server which has been mapped to one of my drives. I am not able to connect to that directory. I am getting an error saying ?Invalid command 550 //hbxs02/shared No such file or directory. The... (0 Replies)
Discussion started by: shashi_kiran_v
0 Replies
Login or Register to Ask a Question