ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This shows my the local as 127.0.0.1 so I really have no idea what is wrong. Any help on this would be appreciated. Thanks
# hosts This file describes a number of hostname-to-address$
# mappings for the TCP/IP subsystem. It is mostly$
# used at boot time, when no name servers are running.$
# On small systems, this file can be used instead of a$
# "named" name server.$
# IP-Address Full-Qualified-Hostname Short-Hostname$
# special IPv6 addresses$
::1 localhost ipv6-localhost ipv6-loopback$
127.0.0.2 linux.site home$
this is from netstat -r
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
Instead of INADDR_ANY, you can specify an address (as long int), in which case the server only listens to request on the interface with the specified address.
I'm not sure why you have a problem. Your result of netstat -r is the same for the loopback device as on my system.
What does ifconfig give you? There should be a lo interface with address 127.0.0.1
What is the result of a ping localhost?
Thanks for the replies on this matter, but the error was due to a coding mistake when trying to port from windows to linux.
Can anybody tell me if there is a free remote cvs service, so that i can log files out from within windows and linux with ease.
I know of sourceforge, but the project doesn't meet the required licence. I want the project executables to be freely available to the general public but not to companies and neither to have the source. I don't even know what licence this should be!
I'm not that familiar with CVS but you should be able to setup CVS on a Linux box and access it from both the Linux machine as well as from the Windows machine.
I'm quite sure that my RH8 box came with CVS installed, not sure about my Slack box.