Difference between revisions of "How to find out servers IP address"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
= Standard way =  
= Standard way =  


Login to your server through ssh and enter:


ifconfig


You will see similiar output like this:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:B6:C1:CA
          '''inet addr''':192.168.0.178  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:feb6:c1ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5289630 (5.0 MiB)  TX bytes:18930485 (18.0 MiB)
          Interrupt:67 Base address:0x2000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14987 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14987 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7123869 (6.7 MiB)  TX bytes:7123869 (6.7 MiB)
The numbers going after inet addr is your IP address, remember 127.0.0.1 is not your real ip address!


= Easy way =
= Easy way =
Login to server through ssh and enter:
net_info
Remember ticketID and contact Kolmisoft for more info.

Revision as of 09:21, 8 September 2009

Standard way

Login to your server through ssh and enter:

ifconfig

You will see similiar output like this:

eth0      Link encap:Ethernet  HWaddr 00:0C:29:B6:C1:CA
         inet addr:192.168.0.178  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80::20c:29ff:feb6:c1ca/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:43138 errors:0 dropped:0 overruns:0 frame:0
         TX packets:31569 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:5289630 (5.0 MiB)  TX bytes:18930485 (18.0 MiB)
         Interrupt:67 Base address:0x2000
lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:14987 errors:0 dropped:0 overruns:0 frame:0
         TX packets:14987 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:7123869 (6.7 MiB)  TX bytes:7123869 (6.7 MiB)

The numbers going after inet addr is your IP address, remember 127.0.0.1 is not your real ip address!

Easy way

Login to server through ssh and enter:

net_info

Remember ticketID and contact Kolmisoft for more info.