Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-14-2006, 12:12 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
connection refused, tcp betwee client and server on different pc on same lan


i'm newbie in network programming, i am learning "unix networkprogramming"(W.Richard Stevens), at page 138, it says "If we run the client and server onn different hosts, the signal handler is normally executed two times...", the question is, when i run the server on host A, then run the client on host B, it says "connect error:connection refused". But when i run client/server on same host it works fine. please help me, thanks

two host(suse 9.3 and redhat 8.0) connect to same hub, the hub connects to one router, router connects to adsl modem. i can ping each other.

thanks again

ps: my english is very poor, if there is something i said rude or unpolite, please ...

Last edited by JoeyWong; 05-14-2006 at 12:13 AM.
Old 05-14-2006, 03:14 AM   #2
LQ Newbie
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks everybody

this is my fault
my security level on host running redhat is high, i set it back to middle, now everything is OK


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
Client refused to connect to printer via print server kgao Linux - Networking 3 02-10-2005 09:31 PM
connection refused by X server for root user nemesix Linux - Newbie 3 11-02-2004 01:46 PM
Tcp/ip Client Server Problem tushar123 Programming 2 03-31-2004 06:16 PM
cvs server connection refused mindcry Linux - Software 0 07-14-2003 06:01 PM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 07:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 AM.

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