LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-26-2004, 11:12 AM   #1
Agent007
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
Socket Application: Connection refused


Hi all,

I have developed a server/client application using sockets. server app runs on windows server whereas the client app runs on linux server.

I tested both programs on win/linux test machines respectivly. They work fine and can send messages to each other.

The problem is that, today I tested the client program on another linux server and I get "Connection refused" in connect(). (the program was developed in C if that matters)

the only differences between test and production machine network configuration is that: the production machine sits on token ring network and the test in on ethernet (of course we have another linux routers that routes connection from token ring to ethernet)
the windows machine sits on token ring (same network as the test machine)

NOTE:
1. I can ping both machines from windows and linux production server by name and IP.
2. I checked with my net admin. the specificed port that I'm connecting from/to is opened.

can anybody help me ??
 
Old 01-27-2004, 12:48 AM   #2
Agent007
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
updated info:
i just tested the app on two machines on the same network with the specificed firewall and it works

so could the problem be that the two machines are on different networks ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
Socket connection refused problem James_dean Linux - Networking 1 09-23-2005 04:51 PM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
Closing Socket in MultiThreaded Application Fails laalitseth Red Hat 0 04-21-2004 12:44 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM


All times are GMT -5. The time now is 02:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration