My search was mainly using VbsEdit tool by connecting a storage device and stepping through the. If you can think of anything that may make this utility better then please let me know and I will consider adding to it. So far I am not able to find a link between the USB events, the identified usb mass storage drive and the port on the computer (for eg., Location - Port0001.Hub0006 as shown in Windows device manager->usb controllers->USB mass storage). I made it work in this manner this because I had to test connections to the same server from multiple clients, but please be aware that this simple app will only accept one connection at a time. To end a connection send 'enter' (to ensure its a fresh buffer) then type 'bye' followed by 'enter' again this will tell the server to disconnect the client and then immediately start listening again on the same port. (It will need Java 1.6 or greater installed )ġ) On the target machine start the port tester with 'java -jar SPORT.jar xxxxx' where xxxxx is the port number, if the xxxxx is omitted the server will prompt you for a port before it begins listening.Ģ) From the source machine open telnet to the server using ' telnet xxxxx' where is the IP or server name and xxxxx is the port number used when starting the server.įrom here it will quickly become aparent if you have connectivity between the two devices. Once running the Port Tester is a simple echo server, so after you have connected anything you type followed by hitting 'enter' will be echoed back to you with an "Echo:" prefix. jar file to any machine you need to test connectivity with. I may expand / improve on this at a later date but it got me where I needed be and I figured I would share it with anyone who may also find themselves in my position.Ĭopy the. Knowing that Windows, Linux and macOS all have built in 'telnet' capabilities meant I could use this and not have to write a client app as well. I set about making a simple server side app that would interface to any standard 'telnet' app that was easy to use.Īfter a bit of research I threw some code together which achieved my immediate goal and enabled me to test the connectivity in my environment. I looked at how I might achieve this with the least amount of software and external apps as possible. Having Java at my disposal I decided to build a cross platform port tester that could be used to test this basic connectivity. A complete nightmare, my logical mind decided to go back to the very basics, start with plain connectivty outside the third party app back to an OS level. Over the past week at work I have been involved in trying to prove conectivity between some servers in a complicated network environment with multiple sites, multiple firewalls and, multiple OS's add to this the fact that the apps with issues are from a third party with complicated logs and start up mechanisms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |