Monitoring a local socket

How can I monitor a known port on a local system(win95) and capture data being sent to/from the port?  


 There is a HTTP proxy running on 127.0.0.1:83 that is causing trouble, and I'd like to capture the data going through it to try and work out why.
LVL 1
syzygyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve RoseCommented:
You can use the Network monitor on an NT server. This 127.0.0.1 is the loopback local IP address for the local host so I am not sure you will see these packets because they are not actually passed through an interface like they would if they were going to a remote host.

For some reason the server is routing packets back to its self.
0
syzygyAuthor Commented:
The application isn't on NT server.  Either NT workstation or 95 (I could probably manage to get it installed on Win2K also)
0
Steve RoseCommented:
The wording is wrong on the above answer. I misunderstood and thought you were stating that this is an NT box.

There are all kinds of packet snuffers you can use to capture IP traffic that can be loaded on Windows 95/98 or NT machine. The question states Widnows 95 but your last comment states it is not on a Windows NT server win95 or NT wrks.
"The application isn't on NT server.  Either NT workstation or 95 " No matter what platform this is the packets are on the 127.0.0.1 IP address and you are not going to see these on the network wire because they are local loopback packets. The server is routing packets back to the local host internaly.

The only one I have used very much is Microsoft’s SMS server’s implementation of Network Monitor.

I am guessing by the post this has something to do with a web server platform.
0
kloverCommented:
You can crudely monitor a port from a DOS prompt with...

netstat -n -p TCP 5

You can capture data with Socket Workbench...
http://download.cnet.com/downloads/0-10071-100-907911.html?tag=st.dl.10001_103_2.lst.titledetail


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
syzygyAuthor Commented:
socket workbench turned out to work just fine once I'd done some re-configuring.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.