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...!

View 2 Replies


ADVERTISEMENT

Server :: Setup A Database Using Mysql - Always Get A Connection Refused Error

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

Red Hat / Fedora :: TCP Client Connection Refused - Error

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

SUSE :: SSH From Server To Client - Connection Refused

Feb 9, 2010

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".

View 1 Replies View Related

Networking :: Connection Refused Error 111 In TCP Client Server?

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

Programming :: Connection Refused In Client Server Program

Oct 23, 2010

I wrote a simple client server socket program in C.

View 1 Replies View Related

Debian :: Gnome Music Player Client Refused Connection?

Jan 22, 2011

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

[Code]....

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.

View 3 Replies View Related

Ubuntu / Apple :: Mounting Time Capsule Drives - Connection Refused

Jan 4, 2010

I've been looking for a way to mount my time capsule drives under Ubuntu, and found some guides, but none of them work for me. Apparently what you need to do is:

sudo mount.cifs //10.0.1.1/timecapsulename/dirname /media/timecapsule/ -o pass=pa55w0rd

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.

View 1 Replies View Related

Ubuntu Servers :: VsFTPd - Connection Refused

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

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 View Related

Ubuntu Servers :: VPS Setup - Connection Refused Message

Apr 9, 2011

I am new to ubuntu and I'm trying to set up an vps, but I cant manage to get past the first screen where I have to fill ip and port 22. When I click open, it says connection refused.

View 4 Replies View Related

Ubuntu Servers :: Cups Connection Refused In Samba Logs

Feb 4, 2010

I was just checking some of the generated logs from Samba.

Code:

Quote:

I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.

Quote:

How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?

This is just on a home LAN.

View 1 Replies View Related

Ubuntu Servers :: Mail/sendmail Issue [127.0.0.1 Connection Refused]

Jun 17, 2010

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.

View 2 Replies View Related

Ubuntu Servers :: Connection Refused When Trying To Connect To IRCd-Hybrid

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

Fedora Servers :: SSH Server Has Gone All Pear-shaped (connection Refused)?

Feb 18, 2011

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

View 13 Replies View Related

Ubuntu Servers :: Postfix Connection Refused - Email Bounces Back To Sender

Aug 8, 2010

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[14228]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Aug 8 14:18:17 anbient postfix/smtpd[14228]: connect from mail-qy0-f169.google.com[209.85.216.169]
Aug 8 14:18:17 anbient postfix/smtpd[14228]: F3D4B1DD02C0: client=mail-qy0-f169.google.com[209.85.216.169]
Aug 8 14:18:18 anbient postfix/cleanup[9988]: F3D4B1DD02C0: message-id=<4C5EBC96.2030800@gmail.com>
Aug 8 14:18:18 anbient postfix/qmgr[9993]: F3D4B1DD02C0: from=<felipefidelix@gmail.com>, size=1982, nrcpt=1 (queue active)
Aug 8 14:18:18 anbient postfix/smtp[9995]: connect to net[174.132.240.146]:25: Connection refused
Aug 8 14:18:18 anbient postfix/smtp[9995]: F3D4B1DD02C0: to=<fidelix@net>, orig_to=<eu@felipefidelix.com>, relay=none, delay=0.15, delays=0.09/0/0.05/0, dsn=4.4.1, status=deferred (connect to net[174.132.240.146]:25: Connection refused)

And this is strange. 174.132.240.146 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/ .....

View 9 Replies View Related

Fedora Servers :: SFTP Connection Refused Error: Could Not Connect To Server

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

Ubuntu Servers :: SSH Server - Connect To Server Via Port 443 I Get A Connection Refused Error?

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

Ubuntu Servers :: 10.4.1: Persitent "Connection Refused"

Sep 11, 2010

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.

View 9 Replies View Related

Ubuntu Servers :: Mysql Sharing Database To Windows Xp?

Jun 10, 2011

i have installed mysql in ubuntu server 10.04 and want to access the database from windows xp.

View 1 Replies View Related

Ubuntu Servers :: Share Internet Connection To Client Using NAT

Jul 19, 2011

I am back to the same issue internet connection sharing using NAT .I use the following command it work for me for an hours.

Code:
sudo iptables -A FORWARD -o eth0 -i eth1 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT sudo iptables -A POSTROUTING -t nat -j MASQUERADE

Code:
sudo iptables-save | sudo tee /etc/iptables.sav
Edit /etc/rc.local and add the following lines before the "exit 0" line:

Code:
iptables-restore < /etc/iptables.sav

Code:
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"

After restarting my server NAT is not working .client system can ping to my server through the server's eth1 ip but Internet is not accessible to the client pcs.

View 2 Replies View Related

Ubuntu Multimedia :: PulseAudio Volume Control - Connection Failed:Connection Refused

Jul 4, 2010

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.

[Code]....

View 9 Replies View Related

Ubuntu Networking :: Setting Up Bluetooth Connection Between Two Computers Throws Connection Refused (111)

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

Ubuntu Networking :: Still Can't Share An Internet Connection With Windows XP Client?

Feb 1, 2010

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

[Code]....

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?

View 1 Replies View Related

Ubuntu Networking :: Attempting To Share Internet Connection With Windows XP Client

Jan 25, 2010

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.

View 5 Replies View Related

Server :: Vsftpd Not Working: Connection Attempt Failed With "ECONNREFUSED - Connection Refused?

Apr 28, 2010

vsftpd not working on my CentOS system. I tried logging in using FileZilla but the error message was: Connection attempt failed with "ECONNREFUSED - Connection refused by server".

View 7 Replies View Related

Fedora Servers :: Windows XP Client To 389 Without PGINA

Sep 22, 2009

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.

View 2 Replies View Related

Ubuntu Servers :: Rsync Windows Client Folder To Server

Mar 27, 2010

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.

View 4 Replies View Related

Fedora Servers :: Configure LDAP And Client On Windows XP

May 29, 2009

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?

View 8 Replies View Related

Ubuntu Servers :: Stop Client Access To All Windows AD Domain Users Profile?

Feb 27, 2010

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)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved