Find the answer to your Linux question:
Results 1 to 6 of 6
hello. how would i know if a certain port is already in use? and how can i stop it? i need to know if my port 8084 is already used ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    9

    Port already in use?

    hello.
    how would i know if a certain port is already in use?
    and how can i stop it?

    i need to know if my port 8084 is already used by my tomcat server...
    and if so i need to kill the process... pls help..

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Location
    Atlanta
    Posts
    55

    Re:

    You can use an online port scanner, or just use a downloadable port scanner and scan your loopback address.

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    9
    hello. i was looking for something like this :

    Code:
     netstat -nap | grep 8084
    but thanks anyway for your tym..

  4. #4
    Just Joined!
    Join Date
    Dec 2004
    Posts
    9
    1. u can use
    telnet 127.0.0.1 8084
    to test if a port is opening.

    2. use kill to kill a proccess

    kill -9 the pid

  5. #5
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    Use
    Code:
    /sbin/iptables -I FORWARD -p tcp --dport 8084 -j DROP
    to lock it.
    Russian UNIX Forums
    http://eugrus.pp.ru

  6. #6
    Just Joined!
    Join Date
    Jun 2005
    Posts
    9
    hi. thanks for the replies..really helpful.. thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •