Cannot assign address when trying to bind

Cannot assign address when trying to bind

Post by jr3.. » Sat, 05 Jun 1999 04:00:00



Hi
I am using Redhat Linux 5.2 with Kernal 2.0.36
I wrote a application using BSD sockets.
The type of the socket is SOCK_STREAM.
The address family is AF_INET
Port 8000
When I try to bind it gives me the error message
"Cannot assign the requested address"
But if the same process runs as a super user
then it does bind to the address.
But the client cannot still connect to the server
. The client basically times out .
If anybody cld help me in this regard
Also, I wld like to know if there is a tool
or a command  or a configuration file entry
using which I can restrict/ permit network access
to users.

Thanks
RJ

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

1. Q: talk error--[Couldn't bind to control socket : Cannot assign requested address (99)]

I am using Slackware 2.2 with linux kernel 1.2.8 and whenever I try to intiate
a talk session with anyone (even myself), or reply to someones talk request I
get the following error message:

        [Couldn't bind to control socket : Cannot assign requested address (99)]

When I try to do the same thing using ytalk I get the following message:

                 ##############################################
                 #                Ytalk Error                 #
                 #                                            #
                 #  No talk daemon on planitia.cybercom.net   #
                 #         No such file or directory          #
                 ##############################################

I am pretty sure that everything is set up correctly in /etc/services and
/etc/inetd.conf since I have compared them to several working systems and found
nothing to be different. Any help on this error would be greatly appreciated.

Thank you.


2. What compiler should I use?

3. lpd[252]: bind: Cannot assign requested address

4. patch 2.4.20-rc2-ac2 doesn't apply cleanly

5. bind: Can't assign requested address

6. .au

7. bind assigning invalid source address to udp packet

8. Mounting NT shares from Linux automatically...

9. Error using bind:Cant assign requested address

10. bind: Can't assign requested address

11. sco_cpd: SIOCGIFADDR: Cannot assign requested address

12. ifconfig ... le0: Cannot assign requested address

13. apache startup error: cannot assign requested address: make_sock.