Ubuntu Networking :: Keep Getting A "Connection Refused" Error?
Apr 16, 2010
I'm trying to set up SSH on my work computer (9.10) but I keep getting a "Connection refused" error.I can connect to myself with 127.0.0.1 no problem but not through my IP.
View 8 Replies
ADVERTISEMENT
Apr 21, 2010
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.
View 1 Replies
View Related
Aug 24, 2010
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
View 1 Replies
View Related
Feb 11, 2009
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.
View 3 Replies
View Related
Feb 12, 2010
I'm trying to run Interhack (spoiled variant of Nethack) for local game. Is looking through settings I saw that:
[Code]....
When I try to start it with ih_server option it gives me that error: Code: Can't access() script Could not create socket: Connection refused I think my problem is closed port: Code: nc localhost 9999 localhost [127.0.0.1] 9999 (?) : Connection refused How do I fix this?
View 2 Replies
View Related
Apr 3, 2011
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.
View 3 Replies
View Related
Mar 25, 2011
I've just completed a fresh install of Ubuntu Server (x64) on a HP Proliant N36L. During the installation I selected to install LAMP, SAMBA and SSH. To continue the installation of software on the server I wanted to connect remotely from windows PC on the same LAN. I am using PuTTY but when I try to connect I get "Error:Connection Refused". I have trawled the forums regarding the setup of putty and openssh and everything appears to be correctly configured.I have checked that the services are running on the server and that the IP address for the server is correct.The guides I have read online suggest that ssh should be correctly configured as part of the install, so why can I not connect from the same LAN?Is the firewall enabled by default during install?
View 2 Replies
View Related
May 24, 2011
ERROR:Connection refused (111)when i change the password.I have a freebsd dovecot server.
View 1 Replies
View Related
Dec 29, 2010
I am getting tcp client connection refused error, when trying to establish tcp client connection from redhat linux to solaris unix. Connect system call is giving connection refused error
View 3 Replies
View Related
Aug 11, 2011
I now have a .tar.gz that has been created during my script, and finnaly i need to upload it via ftp to my computer, but i am unable to because i keep getting the "Connection refused" error, despite the fact that all the syntax appears to be right. in a bout of frustration, i have deleted the code and now no longer have what i had written.. so could someone please let me know the syntax to upload a file to a server? I am aware that other threads have been started about this issue but I am trying to ftp from an iPhone to a computer...
View 4 Replies
View Related
Aug 31, 2009
I Get message Connection refused when trying to connect to other computer in network. My System Ubuntu:
computer1 ip: 10.0.0.1
computer2 ip: 10.0.0.2
computer1 shell:
$ ftp
ftp> open 10.0.0.2
ftp: connect: Connection refused
View 12 Replies
View Related
Jun 7, 2011
Since last Friday I get the following error when trying to upgrade packages with yum: [URL]: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Trying other mirror." The content of dag.repo:
[Code]..
View 2 Replies
View Related
May 4, 2010
I have configured a Nagios server which is working well with all king of clients. But when I added a new windows machine to monitor, it gives a error message "connection refused". I have set everything as prior machines.
Now, I just wanted to know the process by which we can check if server is able to communicate with the client's NSclient daemon. In Linux, we simply issue "./check_nrpe -H hostname" and if ok, it gives the NRPE version which indicates the status ok.
View 3 Replies
View Related
May 21, 2010
I've used fetchmail for quite a while now and never had a problem, until (without having changed anything) today it suddenly quit working, giving me the error message:
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from stefan%mydomain.com@mail.mydomain.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
I googled the error message, but didn't find anything that look promising. I use ubuntu 10.4.
View 2 Replies
View Related
Mar 2, 2010
I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:
[Code]....
there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?
View 4 Replies
View Related
Jun 29, 2011
Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:
define service{
use production-logs
host_name hostname
[code]....
View 3 Replies
View Related
Dec 20, 2009
I have FileZilla installed on this machine, and OpenSSH (with an open port 22) on another machine on my home network. When I try and connect, I get: Quote: Status:Connecting to 192.168.2.3... Response:fzSftp started Command: open "alphatwo@192.168.2.3" 22 Error:Connection refused Error:Could not connect to server
Which has left me puzzled as I have an open port. Does the username have to be defined somewhere? E.g. the machine acting as my SFTP server can be logged on to locally as alphatwo so that's what I logged in as (with the correct password). Is this correct? If so, does anyone have any ideas as to how I might rectify it? I want SFTP set up so I can copy PHP files from my laptop to /var/www/html/ on another PC (across the home network).
View 4 Replies
View Related
Mar 18, 2011
My problem is that the Mailserver in OpenSuse 11.1 (postfix, amavisd, spamassassin, clamAV en Razor) can not recieve e-mails, outgoing is ok. The problem started when I added 2 new users to de LDAP-server connected to Postfix.Some users can login, but most of them are getting the error: cant connect POP3 connection refused port 995.
View 9 Replies
View Related
Jun 13, 2010
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?
View 4 Replies
View Related
Jul 23, 2010
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?
View 4 Replies
View Related
Dec 21, 2010
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:
Code:
ssh <IP of machine>
with the same error.
View 4 Replies
View Related
Jul 6, 2010
I got connecting to our NAS over NFS working perfectly. Direct NAS Reading & Writing - How? But on Saturday I found out it had stopped working. For no apparent reason, not straight after an update either I don't think. When I manually try to mount --verbose:
mount 192.168.100.14:/IHL /mnt/IHL --verbose
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Tue Jul 6 14:48:32 2010
mount.nfs: text-based options: 'addr=192.168.100.14'
mount.nfs: Unable to connect to 192.168.100.14:111, errno 111 (Connection refused)
mount.nfs: mount to NFS server '192.168.100.14:/IHL' failed: System Error: Connection refused
Corresponding fstab line that used to work just fine. 192.168.100.14:/IHL /mnt/IHL nfs auto 0 0 For now, I can drop back to Samba but this is a PITA as I can't open OpenOffice documents and write to them directly on the NAS. The fact smb://192.168.100.14/IHL works proves networking wise we're cool too. There is no firewall between this PC and the NAS, the NAS is instructed to allow my PC's LAN IP full access. OpenSuse's software firewall has been told to allow NFS Client too. Why would this setup break out of nowhere? How can I debug this best? I see nothing relevant in /var/log/messages How can I get it to work again? A hopeful reboot didn't do its usual wonders...
View 3 Replies
View Related
Jun 15, 2010
I am trying to backup a client called greetings.com, but when I do an amcheck on the server, I get:
WARNING: greetings.com: selfcheck request failed: Connection refused
View 2 Replies
View Related
Mar 4, 2011
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.
View 3 Replies
View Related
Apr 12, 2010
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
root@BPC3:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:28900
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:28900
What do I need to do exactly to add exceptions for 28900 TCP/UDP and 5029 UDP?
View 2 Replies
View Related
Apr 6, 2010
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?
View 5 Replies
View Related
Jul 28, 2010
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
[code]....
View 8 Replies
View Related
Feb 27, 2010
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.)
View 2 Replies
View Related
Dec 11, 2010
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
View 5 Replies
View Related
Jun 15, 2011
I am facing trouble to scp from server to to my local machine where as the vice-vesra is working fine.
The error is like below.
lost connection
View 4 Replies
View Related