*BSD News Article 72649


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!hpg30a.csc.cuhk.hk!news.cuhk.edu.hk!agate!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!hunter.premier.net!netnews.worldnet.att.net!ix.netcom.com!netcom.net.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: can't bind local address
Date: 2 Jul 1996 00:45:19 -0500
Organization: Coverform Ltd.
Lines: 18
Message-ID: <4rad1f$r6@anorak.coverform.lan>
References: <31D3D501.2D1C@job-link.com>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Charles Boesel (webguy@job-link.com) wrote:
: I'm trying to run a server daemon on FreeBSD2.1
: and whenever I try to run it I get this message:

: "can't bind local address"

: What would cause this and how do I fix it?

I *believe* it's caused by your inetd kicking off your server, but your
server doing an accept() of an address with the right socket and the
wrong IP.

If you're setting up a web server for example, you probably haven't
configured it to listen for your IP number.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....