Try to understand windows XP networking

when one application is communicating with Apache webserver in one mac

Page 1 of 1

1 Replies - 1125 Views - Last Post: 29 January 2010 - 07:09 AM

#1 ethereal1m   User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 227
  • Joined: 30-June 09

Try to understand windows XP networking

Post icon  Posted 27 January 2010 - 01:53 AM

Dear all,
I'm trying to understand how Apache web server communicate with an application on Windows XP environment in a same machine. Suppose the application is a php debugger and it's trying to connect with Apache server. I assign Apache to localhost port 80 whilst the debugger is assigned to 127.0.0.1 (loopback) port 9000.

If I start the debugger and run netstat, should I expect
  TCP	Serenity:9000		  Serenity:80			 ESTABLISHED


?

Is the configuration and expectation valid? Please advise,

regards,
ethereal1m

Is This A Good Question/Topic? 0
  • +

Replies To: Try to understand windows XP networking

#2 ethereal1m   User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 227
  • Joined: 30-June 09

Re: Try to understand windows XP networking

Posted 29 January 2010 - 07:09 AM

I got the application running between Apache server and a debugger where Apache is listening to port 3105 (not 80 since it's strictly for http) and the debugger (in this case I use Eclipse coupled with xdebug) that is listening to port 9000.
Here is the netstat looks like when connection is established between those 2:
  TCP	Serenity:9000		  198.168.1.3:3105	   ESTABLISHED	 2428
  C:\WINDOWS\system32\WS2_32.dll
  C:\Program Files\Java\jre6\bin\net.dll
  -- unknown component(s) --
  C:\Program Files\Java\jre6\bin\client\jvm.dll
  -- unknown component(s) --
  [eclipse.exe]


In this case the machine name is Serenity, which has a ethernet that is assigned to IP 198.168.1.3. The ethernet address IP is tied to the Apache server. The number 2428 is process ID that is associated with the connection.

Pretty slick, eh? B) heh, maybe not... :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1