Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Client / Server program cannot establish connection
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 06-17-2006   #1 (permalink)
tliggins
Just Joined!
 
Join Date: Jun 2006
Posts: 1
Angry Client / Server program cannot establish connection

I am new to this so please bear with me. We have setup a Cent OS server with one Cent OS client and one Red Had Fedora Core 4 client. While I can ssh and sftp from either client to the server, an application I have been give to maintain, (radmind) cannot establish communications (sockets) between the server side and client side software. I have down loaded test software, server daemon and client piece, that establishes a connection via sockets and it does not work. The error from one app is "Connection Failed" and the other (test app) gives me "file or directory not found". The test app prints "server waiting" in the term window on the server and the client can never communicate with it. Firewalls have been turned off, default sockets for the program have been opened, when the firewall was up. TCP/IP in use, no DHCP all IPs are static. Any comments on things to check and configure will be appreciated.

If additional info is needed, and I am certain it will be, I will do my best to provide ASAP.
Thanks
TL
tliggins is offline   Reply With Quote
Old 06-18-2006   #2 (permalink)
KenJackson
Linux User
 
KenJackson's Avatar
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 466
Ethereal

On the server machine, you can run the command "netstat -a" to get a list of all open and listening ports. You should see your server application listed with the port it is listening on. Verify it is the port you expect.

If that doesn't help, you need ethereal. It's probably included in both your distributions, or you can get it at the ethereal website. It will show you every packet being transferred or filter it down to just what you want.
KenJackson is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:28 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0