View Full Version : how to check ip addresses of pcs accessing webserver

27-10-2009, 08:38 AM
Hey im running a webserver off my laptop and I was wondering is there a way that I can check the ip addresses of pcs accessing my laptop?

27-10-2009, 08:41 AM
What web server?

27-10-2009, 08:52 AM
Are you meaning on the LAN, or people out side on the Web ?

Have a look at the server logs, (I know Apache allows this) they should give you the address of the person(s) accessing it, time and date as well.

27-10-2009, 09:37 AM
its a mini server from Uniform Server. Its running phpbb3 on apache and mysql.

Software Developer
27-10-2009, 09:42 AM
Or you can see that from most software firewalls if you only want to see who are connecting at the moment.

27-10-2009, 09:45 AM
Find the Apache logs - access.log (not too sure exactly where it will be on your hard drive - on my linux server it's in /var/log/apache2/) - they will list something along the lines of:

10.x.x.x - nagiosadmin [26/Oct/2009:18:12:19 +1300] "GET /nagios/images/delay.gif HTTP/1.1" 200 966 "http://10.x.x.x/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&service=Root+Partition" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-NZ; rv: Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)"

The first IP address shown is the IP which accessed your server. The bit after "GET" shows what file they grabbed.

27-10-2009, 10:41 AM
There's a 3rd party program called IP Scanner. It's a free download from pcworld.com and it can show you all the IP addresses that are/have accessed the network

27-10-2009, 11:56 AM
If you go into Apache / Show server logs, there are two sets of logs you can look over.