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 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'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 need to access all PCs in our LAN via ssh from our server in order to do some maintenance. All of them have Ubuntu or Kubuntu Lucid Lynx. Some of the PCs allow this access with no problems, but most of them not. They just answer "Connection refused". I realized that these PCs don't start sshd at startup. If I type "sudo service ssh start" manually in these PCs then sshd starts and all works. But I need it to be started automatically.
I tried some workarounds to solve with no success. I always tried to run a script at startup that could start ssh. If I write a script with this single command inside (service ssh start) and execute it as root, it doesn't work! It doesn't start ssh. But if I execute the same command directly in the command line, it works. I don't understand this behaviour. Also I don't understant why it doesn't happen to ALL the computers. Some of them start ssh at startup with no problems.
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.
at the computer shop we have an ubuntu 9.10 server that we log into via ssh or webmin today i was trying to ssh into the machine and got connection refused, so i logged into webmin and found the ssh server not running when i tried to start with webmin it i got the error
Code: failed to start ssh server * /dev/null not a character device went over to the shell command part of webmin and issued ls /dev -l and looked at the output and found something of concern
I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.
Port 22 PermitRootLogin no 1.override default of no subsystems[code].....
I have a box running Fedora 14 upstairs and I've been trying to get it to run VNC server, unsuccessfully. I've RTFM, and followed the instructions step-by-step, but it still won't run. I'm getting no error messages. But when I try to connect from either a Window or Mac client, it either get a timeout or connection refused. I've read and tried all the troubleshooting; been working on this for about 12 hours now. Is there something major that I could be overlooking?
I am using redhat on server and open suse on client. When I want to ssh from my server machine the following error occur "connection refuse". I execute the following command on clien machine "/etc/init.d/sshd start". It shows the following error just after command execution "sshd re-exec requires execution with an absolute path".
I have just built a new postifx open relay server to allow my ISP clients to send emails. During testing of the SMPT protocol, I can managed to send emails to my localhost however, I can't send emails to other external mail server. Below is a test to a yahoo account. Aug 7 15:03:55 mx2 postfix/smtp: connect to g.mx.mail.yahoo.com[184.108.40.206]: Connection refused (port 25) Aug 7 15:03:55 mx2 postfix/smtp: F084EC8D76: to=<email@example.com>, relay=none, delay=8.5, delays=1.2/0.05/7.3/0, dsn=4.4.1, status=deferred (connect to g.mx.mail.yahoo.com[220.127.116.11]: Connection refused)
I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is: stat=Deferred: Connection refused by [127.0.0.1]
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 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?
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.
When I was checking the /var/log/messages, I found these entries:
Mar 16 15:14:38 localhost smbd: [2010/03/16 15:14:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:14:38 localhost smbd: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd: 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?
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
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.
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 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 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:
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?
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 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