NetCat multiple port

To test if a port is open on a remote host or not. Our networking guys always use to tell that they opened the port, you can't always run your code to test it. If you are on windows then you can do telnet. To enable the telnet on Windows 10, Click here Open the command prompt and run the following command: telnet 192.168.1.205 80 If it is successful, that it will enter on the

Read more 0

free port on MacOSX or linux terminal

Sometimes when we start application on MacOSx or linux they don't start, because an port is already occupied by application which terminated unexpectedly or by some other application. Developers face these kind of issue more frequently, when we run java application in our IDE eclipse or IntelliJ Idea and switch between run/debug or error in run/debug. Now we need to free the port which was occupied by an existing instance of the application or any

Read more 0

Sometimes when we run java application on windows platform, it doesn't start tomcat and says port 8080 already in use. To resolve this issue, we have to kill the process running on port 8080. Below are the few simple steps to release port 8080. Start you command prompt as an administator: Run the following command to get the process which is using the port 8080: netstat -o -n -a | findstr 0.0:8080 To kill the

Read more 0

java7 install

If you are running an older version on java on your Ubuntu 12.04 environment, you must remove it before installing Java7. Do the following to remove: $sudo apt-get purge openjdk* If you installed java 7 earlier and having problem with java then you have to do the following to remove it: $sudo rm /var/lib/dpkg/info/oracle-java7-installer* $sudo apt-get purge oracle-java7-installer* $sudo rm /etc/apt/sources.list.d/*java* $sudo apt-get update Installing Oracle Java7 on Ubuntu 12.04 LTS: $sudo add-apt-repository ppa:webupd8team/java $sudo

Read more 0