So I ran into a problem with my computer where I was trying to set up a Tomcat server to run on port 8081. Every time I started the server, I experienced an error saying that the port was already in use. Since I didn't have any other applications open, I became baffled so I did a little exploring.
Running netstat -a -p TCP:
TCP 0.0.0.0:8081 eng01:0 LISTENING
TCP [::]:8081 eng01:0 LISTENING
I have a Windows 7 desktop and a MacBook Air. I prefer working in OSX, but my Windows 7 Core i7 processor w/ 6 GB of Memory / Intel solid state hard drive runs circles around my MacBook Air w/ Core2 Duo Processor and only 2 GB of ram.
Considering I like to work when I am on the road (carpool), I need an easy way to share files between my Windows Desktop and my MacBook Air laptop. Since I love Git, I will describe a simple way to do this.
1. Set up SSH Server on Windows 7
http://www.scottmurphy.info/open-ssh-server-sshd-cygwin-windows
2. Set up Git
The default Cygwin installation of VIM just sucks. It makes you think it is broken or buggy, but really there is nothing wrong with it. It just isn't configured right.
If you are experiencing backspace/arrow key inconsistencies with you VIM on Windows, all you have to do is the copy /usr/share/vim/{VIM_VERSION}/vimrc_example.vim to ~/.vimrc
e.g.:
cp /usr/share/vim/vim72/vimrc_example.vim ~/.vimrc
Then launch vi and start loving vi all over again!
Thanks go to:
http://simonmcc.blogspot.com/2005/06/cygwin-vim-rxvt-arrow-key-problems....