Ubuntu Servers :: Unable To Connect To Web/Connection Refused
Feb 14, 2011
I have a new Ubuntu server (10.10), named Denholm, recently installed and updated. I came in this morning, attempted to add a package with apt-get, and got a "Connection refused" response. I have another server (also 10.10), named Moss, on the same network that can connect successfully.
Here's what I've found/tried so far:
This doesn't look like and apt problem anyway, but the sources.list files on Denholm and Moss are identical.
I can ping [URL] (and other sites) successfully from Denholm.
I have tried 'wget www.google.com'. From Moss the wget is successful, but from Denholm I get "Connection refused."
I have a web server on Moss and Denholm can successfully access it.
To the best of my knowledge, Denholm is not configured to use a proxy server (no http_proxy variable set).
View 1 Replies
ADVERTISEMENT
Mar 13, 2011
I have a Rackspace server running Ubuntu Lucid Lynx, where I have installed an IRCd-Hybrid. I can connect to the IRC server using irssi that was installed on the same machine where the server is, but when I try to access it from my computer at home or my friends try I get this error:
Code:
Connection Refused
What should I do?
View 1 Replies
View Related
Mar 16, 2010
When I was checking the /var/log/messages, I found these entries:
Mar 16 15:14:38 localhost smbd[13347]: [2010/03/16 15:14:38, 0] printing/print_cups.c:cups_connect(78)
Mar 16 15:14:38 localhost smbd[13347]: Unable to connect to CUPS server localhost:631 - Connection refused
Mar 16 15:24:38 localhost smbd[13691]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78)
Mar 16 15:24:38 localhost smbd[13691]: Unable to connect to CUPS server localhost:631 - Connection refused
Mar 16 15:24:38 localhost smbd[13692]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78)
Mar 16 15:24:38 localhost smbd[13692]: Unable to connect to CUPS server localhost:631 - Connection refused
Mar 16 15:27:34 localhost smbd[13716]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78)
Mar 16 15:27:34 localhost smbd[13716]: Unable to connect to CUPS server localhost:631 - Connection refused
Mar 16 15:27:34 localhost smbd[13718]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78)
Mar 16 15:27:34 localhost smbd[13718]: Unable to connect to CUPS server localhost:631 - Connection refused
CUPS is stopped in the system and the system is configured as samba server. What could be the reason for these printing requests from smbd?
View 13 Replies
View Related
Jul 5, 2010
I am using TomCat6 with Ubuntu Server 9.10 x64. I successfully configured to iptables to redirect the port "443" to "8443" (Tomcat SSL), using this command:
[code]...
View 5 Replies
View Related
Jul 16, 2010
when i try a telnet to a host like that: telnet 10.10.10.10 1234 i got this: telnet: Unable to connect to remote host: Connection refused.
1/ does this mean that the problem is not due to a firewall, but that the host 10.10.10.10 doesn't listen on the port 1234? other way does this mean that my firewall is authorizing traffic on the port 1234?
and when i try a telnet on another port like that: telnet 10.10.10.10 1235 i get: Trying 10.10.10.10 ...
in this case this
2/ does this mean that the firewall is blocking the traffic between my host and the 10.10.10.10 on the port 1235?
View 1 Replies
View Related
Jul 3, 2011
My system is Ubuntu 11Before I typed "telnet localhost" or "telnet localhost 23". I have make this work below:$sudo apt-get install xinetd$vim /etc/xinetd.conf
defaults{
instances=60
log_type=SYSLOGauthpriv
[code]....
View 1 Replies
View Related
Jun 12, 2011
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
[code]....
View 4 Replies
View Related
Nov 10, 2010
When i am trying to telnet to a machine connected in our LAN ..
telnet: Unable to connect to remote host: Connection refused
What's the reason for this? how do i establish a connection? I am using ubuntu 10.04.
View 8 Replies
View Related
Sep 11, 2009
I did followings:
Code:
But got:
Code:
But as I tried:
Code:
It's OK.
View 1 Replies
View Related
Feb 5, 2009
telnet localhost the output is...
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
I don't understand what is the problem. Its not configured properly how do i configure it?
View 7 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
Nov 26, 2010
I am doing some R&D on 11g RMAN in oracle at home. i have installed oracle enterprise linux and i have installed oracle software. when i am trying to configure listener, it is error-ed out. i have verified that telnet with the port is not working and i am seeing connection refused error.
View 3 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
Jan 7, 2011
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
View 2 Replies
View Related
May 11, 2010
I'm trying to make an SSH script for my place of employment. This script, I want to go out to the server hostnames we have specified (in another file) and change a users account password. We use Kerberized telnet, so if telnet root hostname fails, I want it to use ssh username hostname and use the old password (specified). If both fail, I want it to ask the user what the port should be and input the port in the ssh command.
But I'm having a issue having it try telnet root hostname and if it fails then, try to ssh in, I have no clue how to have it proceed. Is it an if statement? Here's the telnet failed message: telnet: Unable to connect to remote host: Connection refused
View 7 Replies
View Related
Dec 7, 2010
I am getting this error message on ktorrent on slackware 13.1 64. Few days ago I was using ktorrent for torrent downloads and it was fine, but not i can't star any download or any kind of torrent, it just keeps returning the error and it's not working at all.
View 1 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
Feb 20, 2010
I am getting "ssh:connect to host restart port 22: Connection refused" error when trying to start "ssh" in Ubuntu. I uncommented the port 22 in ssh_config, I dont have iptables setup...Did try to check if the port is listening using the netstat -an | grep "LISTEN" & couldnt find.
View 9 Replies
View Related
Jul 21, 2011
I'm having problems with ssh and don't know what else to do. I keep getting "ssh: connect to host stop port 22: Connection refused" when i try to stop or start ssh:
[Code]....
View 2 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
Jul 8, 2011
I am facing an error when I run the following command telnet localhost 7777
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
View 2 Replies
View Related
Apr 7, 2010
I reinstalled unbuntu server recently and i am trying to get it to only allow one computer to accsess it. So after doing this etc/ssh/ sudo nano sshd_config I uncomment #ListenAddress 0.0.0.0 Ok so i am trying to accsess my server from a windows machine so i tpyed ipconfig /all to find my ip I found the IPV4 address and i put that address like so ListenAddress 192.168.1.22 But when i try and connect it says connection refused.
View 6 Replies
View Related
Mar 13, 2011
I have a Rackspace server running Ubuntu Lucid Lynx, where I have installed an IRCd-Hybrid. I can connect to the IRC server using irssi that was installed on the same machine where the server is, but when I try to access it from my computer at home or my friends try I get this error: Code: Connection Refused What should I do?
View 1 Replies
View Related
Apr 27, 2009
Im having some problem with my DNS. We are using a Linux web server as one of our web server which runs some live websites.When I trying to get the status of the DNS (NAMED) it comes the following error :
The same error appears when Im trying to apply any changes on zone level for a selected doamin in WEBMIN. (Basically can't apply changes)
WEBMIN > Servers > BIND DNS servers > click a selected-domain.co.uk > Apply changes
NDC command failed : rndc: connect failed: 127.0.0.1#953: connection refused
But the server seems to be running without effecting any probelms to the sites or users. I have been searching weeks for this problem & couldn't find a solution. And also Please note that Im bit new to Linux.
Server details :
Red Hat 4.1.1-1
View 15 Replies
View Related
Mar 26, 2011
lpr: can't connect to remote host (127.0.0.1): Connection refused
[root@l-GZ:/]# usb 1-1: new full speed USB device using sl811-hcd and address 3
View 2 Replies
View Related
Jul 21, 2010
I want to create script wherein it will check the application if its running. The command that I'll be using to check the application is telnet (if you can recommend others, that's ok). I've an application and it is listening to port 1808. If I do telnet localhost 1808, the response is :
Code:
[root@test ~]# telnet localhost 1808
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
What I want to happen is if the response is like to code above, it will execute a commands. Obviously, above code knows that the application is not working so I need to execute a commands. I created a script before using expect but I don't think it will work because I haven't establish a shell yet unlike successful telnet I could spawn expect.
View 5 Replies
View Related
Sep 12, 2010
I have become convinced that rsync for CentOS 5 is broken. I'm trying to set up automatic backups between 2 servers in 2 different countries using rsync under CentOS 5.I can get manual backups to work between the 2 servers by doing two things I shouldn't need to do, but automatic backups fail and I see no solution.Here are the problems I am encountering: According to the instructions I've read everywhere, I am to set up two configuration files:
/etc/rsyncd.conf
/etc/rsyncd.secrets
When I run rsync from root, it apparently just totally ignores these two files. No custom greeting, no log, no password used.
Even when I specify --password-file=/etc/rsyncd.secrets in the command line, it still ignores it. I am prompted and I must enter the password manually. Let me back up a moment. After first installing rsync, when I ran any command to access the root server, I get this error:
ssh: connect to host 111.222.33.44 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]
I read everywhere that rsync uses port 873, not port 22 which is used for SSH. Why is rsync on CentOS trying to use port 22?I have SSH switched from port 22 to another port (let's call it 5432 here) and block port 22.So, I have added this to the command line:
--rsh='ssh -p5432'
Then I get a connection ...
... but it prompts me for my password. It doesn't matter that I have my username and password, same one, in /etc/rsyncd.secrets on both servers. It still asks.And it rejects my password!The only way I can get it to connect is by creating an SSH user on the remote server for this.Even then, rsync STILL prompts me for a password, even though:
1. the username and password are specified in the /etc/rsyncd.secrets files on both servers
2. I've added the command line parameter --password-file=/etc/rsyncd.secrets Therefore, it is totally impossible to use an any cron job or other automatic synchronization, under CentOS 5.
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* 111.222.33.44:httpdocs/rsync
rsync -av --verbose --progress --stats --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
Yes, I have made sure that I have the latest rsync. I have run yum update for everything.Yes, I have double checked, triple checked, and quadruple checked my config files.
View 2 Replies
View Related
May 29, 2011
Connecting remotely through FileZilla works ok, but I can't connect from localhost (FWIW I'm running WordPress and would like to be able to upload plugins from the dashboard).
I've got vsFPTPd installed and - I think - running:
Code:
# service vsftpd start
vsftpd start/running, process 25782
All ok so far... however I can't see it on any of my ports:
Code:
# nmap localhost
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
[code]....
And of course if I
Code:
telnet localhost:21
That's 'Connection refused...'
Nothing in 'netstat --listen' either.
The odd thing is, I can connect fine using FileZilla.
To confirm, I have
Code:
local_enable=YES
set in my vsftpd.conf.
View 6 Replies
View Related