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).
I have sendmail running (quite well) on my ubuntu box. It worksfine with Thunderbird locally. It runs fine with a few other MUAson (allowed) remote machines. It has one small problem I have notbeen able to clear up: it will not send mail that is initiated bythe 'mail' program locally. It gives me a "[127.0.0.1 connectionrefused] error in the logs. The /etc/hosts file is fine (as faras I know). The sendmail.cf file has been rebuilt from sendmeil.mc.'hostname' and 'dnsdomainname' return proper values. Okay, I'mstumped and looking for another set of eyes on the problem.
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:
I downloaded the ubuntu server (command line only) iso and set up a server on a spare computer. The only partition is ubuntu. LAMP server installed, and runs. Its plugged into my home network and the router assigns it a DMZ. I use ptty and that allows me to connect the server from my Windows PC. I installed samba and that works, I set up the server as Z: to my windows PC, and I can now use Filezilla FTP to move gigs of files over from my windows PC to the ubuntu server. I have to log in to activate the connection to Z: but it works.
Problem is getting a database connection from my windows PC (client) to my ubuntu server. Server is running a MySQL server and an Apache Derby server but both give connection:refused every time I try to connect with a java app, or with ij from my client. I tried MySQL Workbench, as that has a GUI, that doesnt connect to MySQL either. Every time I start my server I have to add lots of jar files to the CLASSPATH just to get the Derby server running. The Derby client connection on my client PC is also properly set up with PATH and CLASSPATH etc etc all configured and tested. But the server refuses every attempt to connect even though it tells you the Derby server is up and runnign as listening on port 1527!!!
What I want is a script or app that will "unlock" my server so I can actually do something with it instead of constantly trying new settings and packages in the vain hope it will then actually 'serve'. I am missing something here. There is nothing of value on this server that cannot be 'exposed' to the internet, so I'd be happy to turn off all the security just so the damn thing allowed connections...!
I am experiencing a bit of a problem with openssh-server. I installed the server like I normally do. It wouldn't work, so I tried using this. It still didn't work. Later, I have realised that when using service sshd start SSH says it started, but when you check if it's running with service sshd status it says it doesn'triend advised me to use /etc/init.d/sshd and I managed to get it started. However, that doesn't return anything, and when I try to connect it says connection refused even when I try to connect from localhost to localhost
I'm testing my mail server, and sending email works fine. However, when I tried to send emails to my server from gmail, I get this log:
Code: Aug 8 14:18:17 anbient postfix/smtpd: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual Aug 8 14:18:17 anbient postfix/smtpd: connect from mail-qy0-f169.google.com[18.104.22.168] Aug 8 14:18:17 anbient postfix/smtpd: F3D4B1DD02C0: client=mail-qy0-f169.google.com[22.214.171.124] Aug 8 14:18:18 anbient postfix/cleanup: F3D4B1DD02C0: message-id=<4C5EBC96.firstname.lastname@example.org> Aug 8 14:18:18 anbient postfix/qmgr: F3D4B1DD02C0: from=<email@example.com>, size=1982, nrcpt=1 (queue active) Aug 8 14:18:18 anbient postfix/smtp: connect to net[126.96.36.199]:25: Connection refused Aug 8 14:18:18 anbient postfix/smtp: F3D4B1DD02C0: to=<fidelix@net>, orig_to=<firstname.lastname@example.org>, relay=none, delay=0.15, delays=0.09/0/0.05/0, dsn=4.4.1, status=deferred (connect to net[188.8.131.52]:25: Connection refused)
And this is strange. 184.108.40.206 seems to be the web address 'net.net'. I am sure this has to be some setting in postfix, cuz its trying to deliver the email to 'fidelix@net', and that cant be right.
Here is my postconf -n output: Code: root@anbient:/var/mail# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix home_mailbox = Maildir/ .....
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 "email@example.com" 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).
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
# 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.
I've often visited this site and I have used Ubuntu as "client" for long. Last week I dicded to install Ubuntu Server 10.4.1 on a brand new Dell PowerEdge R310. (In the past I installed several Servers based on Debian). Installation worked fine and quick. Base installation is done without any additional software (which where offered during first installation). IP is set static - no DHCP.
For documentation reasons I want to install more software remote (putty from a windows machine). First I did a "sudo apt-get install ssh openssh-server". This installation went ok and ssh server is runing: login from "localhost" works. But login from any other machine results in "connection refused". Checking port 22 with nmap says "port closed". (ping works) My search on this issue yields that "ufw" is a part of Ubuntu Server. After checking this "ufw" is diasbled. But why always the connection is refued? Two days I did testings and trials but got no resolution.
I tried to finally set-up surround sound on my Ubuntu 10.04 machine and i was successful in doing so after a while of changing settings and tinkering. After doing so though, i was later in the day not able to get into the Pulseaudio Volume Control, therefore, everything is stuck where it is and i can't change anything. When i try to open Pulseaudio Volume Control i get the error message, Connection failed, Connection refused. My programs still play sound and i can control the sound of the programs through the programs, but i cant control the sound of the sorround sound now and my main sound bar only affects my stereo speakers, not the surround ones.
I believe this may have happened after the random disk check on restart, but i can't 100% confirm that and i'm not even sure if they are related. I still have sound, but i have no way to control the volume of my entire system at once. I did some looking around online and saw that others are having or had the same issue, and it was through different versions of Linux also. somehow reset everything so i can access PAVC and start over . I also tried steps listed in another thread here on the same topic, but they weren't working and it also seemed to be for older Ubuntu versions.
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'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?
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?
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 firstname.lastname@example.org -N ssh -L 8022:tunnel.host:8080 email@example.com -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 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 have been trying for weeks to solve this one and have researched everywhere I know to look. Nothing has helped. I am trying to ssh to my other machine (machine1=galla, machine2=cachin). Both run Maverick Meerkat 10.10. I get the following error when trying to ssh to galla:ssh: connect to host galla port 22: Connection refused
uname -a outputs:Linux galla 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/LinuxAlso, sshd does not stay running. I can start it, but a ps tells me it is never running. I imagine herein lies the problem. But why won't it stay running?I am not running any firewall on galla (iptables -L told me that).P.S. I can sucessfully ssh out of galla to cachin. And, even if I just try to ssh localhost on galla, same thing happens.
I have an application that uses a telnet console, and I have an autostart script to start it (and check that it is running).The problem is that if the program is not startet by root, or by using sudo, I cant get access to the telnet console, it just says "connection refused".The application works fine, but I cant acces its console, so I have to shut it down, and then restart it with sudo to be able to log in to it.Anyone know how to make the script start the application with enough rights?
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
When I connect with my vps server through openssh, doesn't establish connection. Openssh is active (see its status), port 22 is open, the sshd_config file is the same of original copy (I have saved one in the case I did a mistake) the only line different permitrootpassword is set on ''no'', there isn't a firewall that block ssh connection and with other remote desktop control like remmina works well.
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.