[cs631apue] Testing the server

Jan Schaumann jschauma at stevens.edu
Sat Nov 2 15:20:29 EDT 2013


hao wu <hwu9 at stevens.edu> wrote:
> It may be due to some firewall policy.

It's true that some connections between hosts may be affected by certain
firewall rules, but in those cases you would see a different error.
More specifically, your connection would time out completely or be
immediately reset; when you get the error "connection refused", then
your packet did make it through to the other side but just didn't find a
port open there.

Run

ns -l 12345

on one of the hosts on linux-lab.cs.stevens-tech.edu and try to telnet
to it from another host in linux-lab.cs.stevens-tech.edu versus another
host from another network (such as when you're at home).

-Jan


More information about the cs631apue mailing list