web trace

  • Random
  • Archive
  • RSS
  • Questions?
Healthy eating plate
Pop-upView Separately

Healthy eating plate

Source: hsph.harvard.edu

    • #health
  • 4 months ago
  • 4
  • Permalink
  • Share
    Tweet

Check if port is used on windows machine

To check if a port is currently in use on a Windows machine, and then get some clue as to what’s using it, run the netstat program from a command console.

  1. Start > Run
  2. Enter cmd
  3. In the command console enter:
    netstat -ano|grep portNumber
    This lists any processes where the port number is included somewhere on the line.
  4. Look at the first number (in the second column). If this shows the port number after a colon, this means the port is currently being used.
  5. Make a note of the number at the end of the line. This is the process ID (PID).
  6. Run the ps program and grep for this PID:
    ps -ef|grep PID

Example

Here I was checking what was using port 4485.

C:\Documents and Settings\Administrator>netstat -ano|grep 4485
  TCP    192.100.61.161:4485    66.249.91.103:80       CLOSE_WAIT      2444

C:\Documents and Settings\Administrator>ps -ef|grep 2444
 Administrator 2444    - -   Aug 02   -   0:16 GoogleDesktopIndex      3    5

It turned out GoogleDesktopIndex was using that port. 

Source: itauthor.com

    • #tech
  • 6 months ago
  • Permalink
  • Share
    Tweet
Understanding party ideology. Left and right parties differentiated.
Pop-upView Separately

Understanding party ideology. Left and right parties differentiated.

Source: dailyinfographic.com

    • #politics
  • 7 months ago
  • Permalink
  • Share
    Tweet

Maven and web project

Often times you create a maven project but want to pull in the project and its dependencies to deploy on the server. The following simple command can help you

cd /path/mavenProjectDirectory

mvn -DoutputDirectory=./lib dependency:copy-dependencies

    • #maven
    • #java
    • #deployment
  • 7 months ago
  • Permalink
  • Share
    Tweet
Pop-upView Separately

Source:

  • 8 months ago
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 14

web trace

Connect with me

  • @kumehta on Twitter
  • Facebook Profile
  • Google
  • Linkedin Profile

Twitter

loading tweets…

I Dig These Posts

See more →
  • RSS
  • Random
  • Archive
  • Questions?
  • Mobile