Ubuntu Networking :: Internet Ftp "connection Refused" Works Locally
Mar 23, 2010
I am trying to set up an ftp server on my home machine so a friend and I can exchange large files. I have set up pure-ftp server and gftp client.Pure-ftp works fine behind my Dlink DSL 2740B router using host name '192.168.1.100' but not over the internet using host name '80.47.xxx.xxx' I get the message
Quote:
Looking up 80.47.xxx.xxx
Trying 80.47.xxx.xxx:21
Cannot connect to 80.47.xxx.xxx: Connection refused
Operation cancelled
I have set up port forwarding as per the attachment.I haven't set up a software firewall and my iptables -L looks like:
The username I am using is part of "ftpgroup" and is the same user that works behind the router.Putting the computer in the DMZ doesn't help.I have a similar problem with SSH so I assume the problem is with the router.Other threads suggest the culprits should be port forwarding or a firewall but I can't see what is wrong.
I just installed Ubuntu 11.04 desktop on my desktop in dual boot with Windows 7.
Heres my problem, I am unable to connect to the Internet even though my wired Ethernet connection says it is connected normally. The wierd thing about this is that I also have a wireless card in my desktop and when I connect through that I am able to connect to the Internet. I am connecting to a router that is functioning as a repeater to my main router/cable modem. I have tried to solve this myself but am having no luck. Ironically, earlier today suddenly my ethernet connection worked for a few minutes without me modifying anything.
The output of some terminal commands are below.
Quote:
Quote:
Quote:
However a pint to that ip address (my router) is successful.
Quote:
Hosts.allow and hosts.deny are both fine (not blank but no entries)
I am a non-techie, have been gratefully using Ubuntu 8.10 for a few years for the basics: email, web, documents, photos. I have somehow lost my internet connection, but strangely my email still works...!?!? My router is showing all the correct green lights, but I cannot get to any url. I am posting this thread via work (windows) pc. I have searched on this forum and in anticipation have done as much homework as possible, see below.I have a Netgear wired router. I cannot find Network manager on the menus and tried this from the terminal:
Code:
network-manager bash: network-manager: command not found networkmanager
As of now, my internet works fine when connected with an ethernet cable.The problem is it doesnt seem like my wireless is working at all.The led light is orange, (its usually blue when it connects) and I cannot see my home dsl network.Is thereany specific troubleshooting steps I should take?HP dv6000 laptopwireless card: Broadcom Corporation BCM4311 802.11b/g WLAN
I installed Ubuntu (10.04) today and it has gone smoothly except for the fact that I can't connect to the Internet when in Ubuntu (connection works fine in Windows XP). I am using a wireless USB card (Linksys WUSB600N) to connect.
The weird thing is that the card detects all the local networks, asks me for a password to my network, and it even says it is connected to my network after I put the password in -- but when I open Firefox no pages will load.
There is another weird quirk as well: Ubuntu will not restart or shut down properly (it hangs around indefinitely with the little white / orange dots going across the screen) unless I first remove the wireless card from the USB slot. But that doesn't bother me as badly as the lack of Internet.
I can connect to the internet on Win7 without issue. Boot to Ubuntu 10.10 amd64 & it works sometimes & sometimes it doesn't.
I've attached 4 screen photos; 2 when internet is working (Working ifcomfig & Working route -n) & 2 when internet is NOT-working (NonWorking ifcomfig & NonWorking route -n).
The 1st I notice when looking @ working ifconfig is line 3 under eth0, inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0, is missing on NonWorking ifconfig.
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
I need to browse the net more securely and bypass throttling by an infrastructure-dictator by creating a SSH Tunnel directly to my internet service provider and use it as proxy.
I tried both a dynamic and local tunnel, was a able to connect to the server and log-in just fine, but when I tried to surf I get a 'Connection refused' error.
Here's what I tried:
Code: ssh -D 8022 user@tunnel.host -N ssh -L 8022:tunnel.host:8080 user@tunnel.host -N (not at the same time of course)
Then I set 127.0.0.1:8022 as proxy in browser settings. As long as the tunnel is open the browser displays a blank page with no error when I try to open a remote web page, while the terminal gives me a 'Connection refused' error.
I'm using OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 on Xubuntu Hardy.
In case anybody is wondering this is perfectly legitimate. The tunnel.host I connect to is a server set-up by my ISP specifically for this purpose.
Either of the examples above should work as others who have the same ISP reported that it works. Therefore, I suspect this is an issue with my own security settings which are slightly on the paranoid side but I can't figure out what. Stopping ufw and explicitly opening port 8022 didn't help.
I'm trying to establish a connection between two laptops using sftp but am getting the following error message:
Connecting to <IP>... ssh: connect to host <IP> port 22: Connection refused Couldn't read packet: Connection reset by peer
ftp isn't working either. Both machines are running Ubuntu and connect to the internet through the same wifi router in case that's relevant. What could be the problem?
I cant connect with ssh to my workstation using my notebooks wireless lan. with cable I'm able to connect.so the funny thing is, if I first establish a connection from my workstation to my notebook (like ssh it or just ping the notebook) I'm able to create a ssh connection from my laptop to the workstation using wireless lan.scanning my workstation from the wireless lan of my notebook with
Code: nmap -sT -p 22 ventury says port 22 is closed
scanning it from the notebook with cable lan,it says port 22 is opened
scanning it from the wireless lan of my notebook an have sent a ping from the workstation before says port 22 is opened.ution.
I got a 64bit version of Kubuntu 10.04, up to date, installed on both, my workstation(ventury) and my notebook (defiant).the question is: Do I always have to ping my notebook first if I want to ssh from it to my workstation or is there some other solution? And why does it work fine with cable, but not with WiFi?
having a port 22:connection refused problem with SSH. None of what I have read has been what I have been experiencing, so I figured I would post here. The worst that could happen is this gets completely ignored, or I am told that there is already a solution, that I missed it, and directed to it. Here is my problem:
Just learned how to ssh into my machine a few days ago. Everything has been running smoothly until I ran into a little problem: all of a sudden I can't connect anymore. I have sshd-server installed and updated. I have sshd turned on
Code: /sbin/service sshd start And I even ran:
Code: /etc/init.d/sshd start Because I was told that it would start ssh from boot. Nothing has changed from today and yesterday and I haven't been having problems with port 22 being blocked.
I have also tried to ssh into the machine by the machine itself:
I get a connection refused error whenever I attempt to connect to a remote ssh server, I tried the test at and it says outbound ssh port 22 is not being blocked. I'm wondering what else could be the problem.
I forwarded ports 28900(TCP/UDP) and 5029(UDP) to my linux box for a game. Testing my ports with a website now shows these ports as "connection refused" rather than "timeout" which means the connections are getting to my system but the iptables are blocking them. But I added 28900 as a test and it still won't accept anything on this port. This is my output of iptables -L
I have tried to host a website at home (consider it a good option and learning experience). After using some Linux distros finally decided to stick with UBUNTU (10.10). Sadly everything was ok until the configuration of BIND9 finally failed.
I am nearly blind with most concepts of networking, my understanding is really basic and am guessing my problem is on that direction but really can not figure it out.
My set up is based on a guide found at [url] and have just changed the domain name so my configuration files are:
And for the reverse zone:
My resolv.conf file looks as follows:
With the last three lines being the IP of my ISP DNSs and declared in /etc/bind/named.conf.options as formwarders.
The output of named-checkzone arquibailleres.com is:
And:
When my BIND service is restarted its output log clearly states that the zones are added and indicates "sending notifies" yet by using dig and ping everything works nicely but when I try to connect to the site from an external computer my site simply is not recognised.
Ping output:
Dig output:
I have rented a static IP address, but still when looking for my global address I see: 201.130.192.159.
To me it looks like it is working, but I already mentioned that my understanding of that stuff is really poor, I have finally ran the "port scan tool" under System -> Administration -> Network Tools and it indicates that my port 53 is assigned to "domain" and open, also port 80 is open for www.
i m using RHEL5 on my server machine and open suse 10 on my client machine.both system ping each other, firewall is off of my server machine,i put a file from my client to my server machine using scp command but ftp command is not working when i want to open connection i receive a message "connection refused".what can be the issue?
Can you find my blind spot? I had PuTTY up & running untill I did a reinstall of Fedora13.I can ping 192.168.1.163 fine. SELinux is disabled. Firewall is default (SSH allowed on p22).I have just disabled the firewall with same result)
PuTTY reports: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.07.20 16:23:52 =~=~=~=~=~=~=~=~=~=~=~= Event Log: Writing new session log (SSH raw data mode) to file: C:UserswimDesktopputty.log
I am facing connection refused error 111 in TCP client server program, in android native code which in C , but if code is in JAVA it works fine, but i want to continue in C only, in manifest file i have given permission and ip, port is correct .What am doing wrong?? or is their any network setting?? am using UBUNTU 10.04and If both client server Linux pc it works fine. only if android emulator becomes client then am getting connection refused
I researched a long while and could not find an answer to these problems, so here I am. I have a debian server running on my home network. I have it running LAMP and it has a live website.
I have samba running and share files with my windows 7 machine, so they do connect.
When i try to use putty it always refuses the connection.SQLyog tells me off too, but it only cays it cannot connect.
I was checking into SSH, since that is how they are both trying to connect, but I can not find adequate info online for my problem.
I have debian lenny running, I was pretty sure it has ssh running, but i couldnt locate 'sshd'
Is SSH on there by a different name or do I need to install the service.
(ps - getting samba running was a nightmare, but i think it was windoze fault, i tried setting up the debian machine exactly how the guides said to do, but it never could connect and denied passwords constantly, then the next day after a few windows reboots had happened, all of the sudden it worked. Don't know what the deal was there. Could that be instrumental? Sorry I am a web dev and not a networker so this stuff is not my forte.)
I cannot use GRsync from Ubuntu Desktop to PCLinuxOS laptop.The 2 computers can ping each other. I have disabled both firewalls. My laptop IP address is 192.168.1.11This is the error on Ubuntu Grsync:
ssh: connect to host 192.168.1.11 port 22: Connection refused rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7] Rsync process exit status: 12
On PCLinuxOS it wont say Ethernet is connected when trying a static address setup.However it does connect to the internet via auto Ethernet setup and a LAN cable. It then says connected. In order to use SSH and GRsync what programs are required? I have these installed on both machines: grsync openssh-client openssh-server
Trying 192.168.100.9... telnet: Unable to connect to remote host: Connection refused
[Code].....
This last one is strange as I the IP looks odd.
What I am doing wrong, and how do I fix it. After much surfing many mosts say that telnet is not used anymore but I want to use it to test my smtp server.
I have installed ubuntu 11.04 and I'm now trying to connect to existing SUSE servers on the LAN. My home directory has a shared NFS mounted home on the SUSE servers while my home on the ubuntu machine is local. I can log in using ssh to all the SUSE servers except one. I get:
ssh: connect to host srv3 port 22: Connection refused
If I use the IP address of srv3 directly it works. Also, before I changed the default machine name ("ubuntu") I could log into srv3.
nslookup srv3 works OK. ping srv3 works OK.
Even if I completely delete the .ssh directory in both my ubuntu home and in my shared home on the SUSE servers I still cannot log in using the srv3 name, only direct IP address works. I'm thinking that the login I did to srv3 before I changed the machine name for the ububtu machine must have goofed up something
i done desktop config in ubuntu server 11.04 and connected via tightvnc,uvnc and in remote desktop viewer from another ubuntu machine also. I am not able to access(connect) the server in GUI mode(when monitor is removed) but i putty is working fine in cmd line.
I have my desktop computer (running F13) configured to accept ssh over port 22 via the firewall configuration tool. If I type ifconfig -a, this computer, which is running on my wireless network, tells me:
However, if I go to my laptop computer (also running F13) and try and ssh into the desktop, i.e. ssh icthy@192.168.1.100, I get this response:
Code:
ssh: connect to host 192.168.1.100 port 22: Connection refused.
I guess I am confused to what is blocking the connection? Is there another means on F13 other than the default Firewall? I haven't really messed with the network at all. For what it's worth, I am hoping to set things up so I can just ssh into the computer name, (ssh icthy@desktop) eventually, but want to start with the IP. So, can anyone offer a hint as to what I can look for that is blocking port 22?
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.
I'm trying to do a SSH connection between my home and work PC both machines are running ubuntu 10.04. I have read all the comunity documentation at [URL] from Work PC. I went on to the web site what is my ip address and noted down the number, From Home i opened a terminal and typed: pnig (ip address). to which their was no reply, now i'm assuming i need to configure the works router to except connection requests, is this Correct?
Also what information do i need from my works network and how do i get it? I understand that I need the routers expernal ip address, but how do i referiance a specified computer after that address? What program do i use in ubunu and how is that information applied to it?
I am running CentOS 5.1 on VMware on Win 7 On CentOS I added Bridged network adapter and the server is connected to internet without any problems, but when I telnet any server on port 25 I get connection timeout.
Code:
telnet f.mx.mail.yahoo.com 25 Trying 98.137.54.237... telnet: connect to address 98.137.54.237: Connection timed out telnet: Unable to connect to remote host: Connection timed out
I stopped all servers, iptables and sendmail on the linux server and the firewalls on the win 7 but still getting the same error! I added new network adapter ( host-only ) and tried to telnet the win machine from vmware Linux but I got connection refused
Code:
telnet 192.168.71.1 25 Trying 192.168.71.1... telnet: connect to address 192.168.71.1: Connection refused telnet: Unable to connect to remote host: Connection refused