Re: Sockets on FreeBSD Mac OS X
| From: | (Devon Weller) | Date: | Wed, 03 Oct 2001 15:53:12 +0000 |
| Subject: | Re: Sockets on FreeBSD Mac OS X | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69782@lists.php.net to get a copy of this message | ||
Thanks for your help. Here is some more information:
I am running the process from the command line as root. I also tried
several different ports, all with the same result.
I don't think you need any special permission to bind to a port above
1024. If so, I couldn't find anything out about it.
Any other ideas?
Thanks,
- Devon
In article <04c401c14bc4$6a1ddde0$c801a8c0@Lynchux100>, ceo@l-i-e.com
(Richard Lynch) wrote:
> Wild Guess:
>
> Your OS is configured to not allow "nobody" to bind port 12345, and PHP is
> running within Apache as "nobody"...
>
> Check out what sort of limitations are put upon users binding ports...
>
> If I was a real Un*x guru, I'd even know what command tells you that... :-|
>
> --
> WARNING richard@zend.com address is an endangered species -- Use
> ceo@l-i-e.com
> Wanna help me out? Like Music? Buy a CD:
> http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: Devon Weller <dweller@devonweller.com>
> Newsgroups: php.general
> To: <php-general@lists.php.net>
> Sent: Tuesday, October 02, 2001 11:02 AM
> Subject: Sockets on FreeBSD Mac OS X
>
>
> >
> > Has anyone successfully gotten socket functions to work with FreeBSD?
> > More specifically, Mac OS X?
> >
> > I always get the following error: Can't bind to port 12345, exiting.
> >
> > The script works fine on Linux machines. Is there a patch in the works
> > for FreeBSD? If so, I would be very happy.
> >
> > --
> > Devon Weller
> > dweller@devonweller.com