Re: Network Help

From: Norberto Meijome (freebsd_at_meijome.net)
Date: 05/10/04

  • Next message: Mark Jayson Alvarez: "Help: Tip on Buying External modem"
    Date: Mon, 10 May 2004 14:17:12 +1000
    To: freebsd-questions@freebsd.org
    
    

    Jeffrey P. Toth wrote:

    > Thanks Ion-Mihai,
    >
    > Well that is the problem. I cannot find any problems other than when I
    > try to open an http: on the box, or on one of the other computers on
    > the network, it fails and has the network error:
    >
    > Making HTTP connection to www.any-site-on-the-box.com
    > Sending HTTP request
    > HTTP request sent; waiting for response.
    > Alert! Unexpected network read error; connection aborted.
    > Can't Access 'http://www.any-site-on-the-box.com'
    > Alert! Unable to access document.
    >
    > I can ping all machines and do a traceroute without problem. The
    > server is online and working I just cannot seem to figure out why I
    > cannot use http on the box and suspect that is the same reason the
    > other computers on the network cannot access any of the sites on the
    > FreeBSD machine without causing a freeze up.
    >
    OK, so it seems it isn't a basic networking issue, but rather a problem
    talking to your Web server running on your FBsd box. You mentioned some
    kind of firewall. The 'unexpected network error' could be due to a
    firewall, OR to not having any web server running on your box.

    1- Is your web server process running?
       Assuming you are using apache from the ports collection, what does
     apachectl status

    show you (run in your FreeBSD server) ?

    2- If it's a firewall, then you should open incoming TCP traffic to port
    80 (and 443 if you plan to serve HTTPS).
    You could post here the contents of (if they exist) to help us help you:
     - /etc/rc.conf
     - /etc/ipf.rules
     - /etc/ipnat.rules
     - if you have a line reading "firewall_type=/path/to/file", please also
    include that file

    ( of course, feel free to replace your public IP with something else to
    protect your privacy)

    3- you could have tcpwrappers setup , blocking tcp traffic - I don't
    know from the top of my head how to check for this --someone else may
    want to.

    4- or..in a strange setup, you may have apache running from your inetd,
    and have either inetd not setup to serve it properly OR actively
    blocking (tcp wrappers again)

    > Do I need to add all the websites to the hosts file? Or the static IP
    > of the box, xxx.xxx.xxx.150?

    if you have dns setup, u shouldn't need hosts file. Do you have DNS
    setup and working? can you ping your server by name rather than by IP only?

    > Just cannot seem to find what affects this problem.

    too many things i'd say ;-)

    Cheers from Sydney,

    --
    Norberto Meijome | freebsd at meijome dot net
                                  | numard at meijome dot net
    "Everything is interesting if you go into it deeply enough." - Richard 
    Feynman
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Mark Jayson Alvarez: "Help: Tip on Buying External modem"

    Relevant Pages

    • Re: Dns for Advanced Server 2000 running IIS in workgroup
      ... I know that things are not setup right or secure. ... They have a full t1 line to one web server. ... they are doing all of their port mapping on that cisco router. ... Any ways all the computers are on their network which uses a dsl line. ...
      (microsoft.public.win2000.dns)
    • Re: network connection fails after setup
      ... > This setup was done via a startup cd and http. ... > setup files were downloaded with no problem. ... Is your network cable plugged in? ...
      (Debian-User)
    • Web server
      ... I am setting up a Windows 2003 web server on an SBS2000 network (dual NIC ... network and wanted to know if I can keep the dual NIC setup on the SBS2000 ...
      (microsoft.public.backoffice.smallbiz2000)
    • No printing at all!
      ... network socket ... # This tool is part of KDEPrint, the printing framework for KDE ... # Basic - Perform authentication using the HTTP Basic method. ... # for the Internet Printing Protocol (IPP) and is what is used here. ...
      (Debian-User)
    • Routing Issues
      ... 10.44.1.xxx network we've now added another 10.4.0.0 network which is ... ip http access-class 23 ...
      (comp.dcom.sys.cisco)