Check if a port is open and is listening in Linux.

1. lsof -i :<port> (Takes seconds)
2. netstat -an |grep <port> |grep LISTEN (Takes seconds)
3. telnet <Server Ip> <port>

Comments

Popular posts from this blog

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - Spring Batch

Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'jobLauncher' is not serializable