02-24-2014
OK, very short introduction to networking basics:
"IP" is the basis for all internet communication (hence the name, "Internet Protocol"). For some aspects of this protocol it is necessary that a host can communicate with itself, just like it would be another host (like you look at yourself in the mirror). For this there is a special address, which does not belong to a certain host at all, but to each host: 127.0.0.1. This is called the "loopback" address every host can use this to connect internally to itself.
So far, so good. Alas, the classical IP (which, in fact, is "IP v4") is getting to its limits in many ways. One of the aspects where IP (v4) is starting to experience problems is the address room: the classical 4-byte address is simply not providing enough numbering space to accomodate for all the devices needing to access the internet (which needs a unique IP address as a prerequisite). Therefore IP v6 (or "IPng - next generation"; don't ask what happened to v5) provides a much bigger address space. In this new address space "::1" is the new loopback address.
I suppose you need to either deactivate IP v6 somewhere and/or activate "IP v4 only" to get rid of the "::1", because most probably PHP, as a network-aware language, automatically translates "127.0.0.1" to "::1" back and forth.
I know this won't help you in finding the problem directly, but at least you should now know what to look for and why.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am totally newbie. I try to login UNIX Solaris 10 through ssh command as user then i use sudo command to login as root: sudo su - but system give me an error sudo: not found. How can i fix this problem and install ssh services for my unix. (1 Reply)
Discussion started by: cthinh
1 Replies
2. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
3. UNIX for Dummies Questions & Answers
As I am trying to log in, when input my user-name (root), when the password prompt, this is what I got (highlighted in red), before i can put in my password. Please tell my why this happened.
console login: root
Password:
sh: sudo: not found
Thank you. (0 Replies)
Discussion started by: iamnew2solaris
0 Replies
4. Solaris
Hi,
I followed the step written in README.
It got some error message when I type " #python setup.py build"
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb
running build_ext
building '_mysql' extension
/usr/lib/python2.4/pycc -DNDEBUG... (2 Replies)
Discussion started by: AlexCheung
2 Replies
5. BSD
Hey all I'm having a little trouble installing a MySQL database. This is what I tried...
export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a`
pkg_add -v mysql-server mysql-client
and this is what I get
Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies
6. BSD
Hello, all. My english is not good.
I have a problem installing FreeBsd.
I have not CD-Roms, so i use program FlashBoot for convert iso-image to USB Device.
After, I was beginning to install FreeBsd (Sorry my english)
When it's time to choose an installation media, i select 9 USB:... (3 Replies)
Discussion started by: snet
3 Replies
7. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
8. UNIX for Dummies Questions & Answers
We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Discussion started by: nextyoyoma
4 Replies
9. Red Hat
Hi i am trying to install mysql rpm package on my linux machine but getting below error :
warning: MySQL-embedded-5.5.28-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL-devel is needed by MySQL-embedded-5.5.28-1.rhel5.i386
... (9 Replies)
Discussion started by: mukulverma2408
9 Replies
10. Shell Programming and Scripting
My yum install command is failing. I first did yum clean all
I even tried with localinstall.
Below is the error output:
yum install mysql-community-server*.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies
inet(7F) inet(7F)
NAME
inet - Internet protocol family
SYNOPSIS
DESCRIPTION
The internet protocol family is a collection of protocols layered on top of the (IP) network layer, which utilizes the internet address
format. The internet family supports the SOCK_STREAM and SOCK_DGRAM socket types.
Addressing
Internet addresses are four byte entities. The include file defines this address as the structure
Sockets bound to the internet protocol family utilize an addressing structure called Pointers to this structure can be used in system calls
wherever they ask for a pointer to a
There are three fields of interest within this structure. The first is which must be set to AF_INET. The next is which specifies the port
number to be used on the desired host. The third is which is of type and specifies the address of the desired host.
Protocols
The internet protocol family is comprised of the IP network protocol, Internet Control Message Protocol (ICMP), Transmission Control Proto-
col (TCP), and User Datagram Protocol (UDP). TCP is used to support the socket type while UDP is used to support the socket type. The
ICMP message protocol and IP network protocol are not directly accessible.
The local port address is selected from independent domains for TCP and UDP sockets. This means that creating a TCP socket and binding it
to local port number 10000, for example, does not interfere with creating a UDP socket and also binding it to local port number 10000 at
the same time.
Port numbers in the range 1-1023 inclusive are reserved for use by the super-user only. Attempts to bind to port numbers in this range by
non-super-users fail and result in an error returned.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
tcp(7P), udp(7P).
inet(7F)