July 7, 2009

What is the command to find internal ip for a site hosted. I have external ip of it.

I adn=minister a site. I could find its external IP with nslookup command. Now how do I know which server it is hosted in. I want to know its internal IP.

Can you guys please help me with this.

 

 

I agree, you would need to either visit the machine and issue an ifconfig...

I agree, you would need to either visit the machine and issue an ifconfig from terminal or if you have access to the router in that network and look at it's table of attached devices. You will be able to see the hostname and ipaddress that has been issued. You may not have access for this either..

Like  (0 likes)

My previous answer was wrong.. You may not have permission to execute a...

My previous answer was wrong.. You may not have permission to execute a command in php.

So you will need access to that machine.

Like  (0 likes)

With external access simply you can't.You need to login into your remote...

With external access simply you can't.
You need to login into your remote machine and issue ifconfig from there

Like  (1 like)

If you cant get access to the server then try executing ifconfig command in a...

If you cant get access to the server then try executing ifconfig command in a php script using exec() function:
http://www.php.net/manual/en/function.exec.php

Like  (0 likes)
Click Here!