Ubuntu Servers :: Database Connection From Windows PC (client) Refused Every Time
Jan 3, 2010
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'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 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 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'm building a music server using an Alix board with Voyage linux installed on that. The Alix board is attached to my laptop, running Debian, and the laptop acts as the file server via NFS.
I have MPD installed and configured on the Alix board, and have configured NFS on the Alix board to look for the directory where my music files are on the laptop.
I'm directly connecting the Alix board and the Laptop with a crossover cable as I don't want internet access - this is purely for storing and playing my FLAC files via the hi fi. As a result I've setup static IP addresses on both the Alix board and the Laptop, using 10.0.0.1 as the Laptop address and 10.0.0.2 for the Alix board address. Both the Laptop and Alix board have a netmask of 255.0.0.0
The Laptop /etc/network/interfaces output is
# The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.0.0.0
1. Comment out the "bind to any address = "any" line in the mpd.conf, but that didn't solve it.
2. I'm wondering if I need to setup my routing tables so that it uses a static route, but I don't think that will help as I'm not connecting via a router.
The Laptop is an IBM Thinkpad and not a Mac (I've read about people with Mac's having problems like this).
As far as I know I don't have any firewalls - The Debian install is just disks 1 and 2, and I haven't installed any firewalls (but not sure if Debian comes with one as standard?) The Alix board has the Voyage distribution specifically for Alix and I'm certain that doesn't have anything like a firewall built into it as Voyage is a very stripped down linux kernel.
My time capsule's ip is 192.168.1.10, it's name is "Time Capsule", the drive I'm trying to mount is called Movie HD
If I input the following command:
sudo mount.cifs //192.168.1.10/Time Capsule/Movie HD /media/timecapsule/ -o pass=mypassword
I get a connection refused error.I tried a couple different variations such as "/"Time Capsule"/Movie HD",etc,every combination, but I get a connection refused error (111) every time.(I have two drives on my time capsule, the internal, Movie HD, and an external usb one, Media HD, I want to actually mount them both)On my time capsule I did set it guest access to read only... Also, when I go to my places> network I do see the time capsule in the list, but I get an error message that it can't access the shares when I try to open it.
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 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[126.96.36.199] Aug 8 14:18:17 anbient postfix/smtpd: F3D4B1DD02C0: client=mail-qy0-f169.google.com[188.8.131.52] Aug 8 14:18:18 anbient postfix/cleanup: F3D4B1DD02C0: message-id=<4C5EBC96.email@example.com> Aug 8 14:18:18 anbient postfix/qmgr: F3D4B1DD02C0: from=<firstname.lastname@example.org>, size=1982, nrcpt=1 (queue active) Aug 8 14:18:18 anbient postfix/smtp: connect to net[184.108.40.206]:25: Connection refused Aug 8 14:18:18 anbient postfix/smtp: F3D4B1DD02C0: to=<fidelix@net>, orig_to=<email@example.com>, relay=none, delay=0.15, delays=0.09/0/0.05/0, dsn=4.4.1, status=deferred (connect to net[220.127.116.11]:25: Connection refused)
And this is strange. 18.104.22.168 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 "firstname.lastname@example.org" 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 have been trying off and on for weeks to share my Internet connection with a Windows XP client (netbook). While I can ping back and forth between the two machines, in the form of a ping test, I can't get to the Internet from the client, no matter what I try.
My Ubuntu 9.10 desktop (host) has two NICs, eth0 and eth1. eth0 connects to the Internet. eth1 goes to the Windows XP client. Regardless of whether I use an Ethernet crossover cable or a standard cable, I can get the two machines to talk to each other, but no further.
Things I already tried:
-Tried setting eth1 to "shared" mode in NetworkManager on the host. I set the Win XP machine to automatically acquire an address & DNS. Didn't work.
-Manually configured the IP settings on both machines, like this: client: address 10.0.0.2 subnetmask 255.255.255.0 gateway 10.0.0.1
Despite all of the above, I still cannot share the host's Internet connection with the client. I don't understand where the client's traffic is going, and why I can't share the connection. As far as I know, I am not doing any sort of firewalling or blocking on the host, so there is no obvious reason that the client's traffic simply disappears. I just know that whenever I open a Web browser on the client, all I ever get is error messages.
I have had no issues setting up a shared connection when the host runs Windows XP, so I am pretty sure there is no broken hardware causing the problem. Why can't I share the connection under Ubuntu?
Over the last several days, I've been trying like hell to share my (wired) Internet connection with a netbook, running Windows XP, attached via crossover cable to my desktop's extra NIC (eth0). The eth0 link is established, but I can't get to the Internet from the Windows XP machine.I can ping one machine from the other, but any bits sent from the Win XP netbook mysteriously disappear when trying to reach any website.
There is no firewall running on the Ubuntu machine as far as I know. Windows Firewall is likewise disabled on the Windows XP machine. The Ubuntu machine connects to the Internet through another wired NIC, eth1.In Windows XP parlance, what I am trying to do would be called "bridging," where eth0 and eth1 would be the two parts of the bridge. In fact I already made it work, with both the netbook and my desktop running Windows XP. It took about 5 minutes.I can't believe what a huge pain this has been in Ubuntu. I'm pretty much ready to give up. There seems to be no way to get an Ubuntu system and a Windows XP system to share an Internet connection.
I have setup a 389 ldap server on fedora 11 that works fine on linux clients. Now I want to connect windows xp clients on it. I made it using pgina, but I would like to make it work without third party software.
i have an ubuntu server 4 windows client..i use putty or webmin. would like to copy some folders for example: "My houses"to be backup everynigth to the ubuntu server..can somebody give me an easy way for doing this with rsync and smb or cifs.
I'm new LDAP kind of stuff.I want to configure LDAP server and Client on windowsXP. could you tell me which Open source LDAP Server and client are best fit for windowsXP. Is OpenLdap not suitable for windows?
I am using Unbunto desktop and installed "likewise open" so that my linux client can access windows active directory(join the domain). On server side i have windows 2003 server. On windows 2003 server in active directory i have assigned each user a disk space. I have sucessfully joined linux (ubunto) box to the active directory domain but my linux box has access ($ it can use) to all other user diskpace ( they can browse other users) and when i joined windows xp client with the same server it works properly( xp client cant access or use other diskpace)