Skip to main content

CURL : Alternative for telnet tool to check listening port state in Linux/Windows

Dear user, the port will play the key role in the communication between the two systems. Whether it's Linux servers or Window server. To cross verify the same, generally we will use the TELNET tool right... For security reasons, by default telnet is not available. Instead of that we can use the CURL command line tool.

Prerequisites:

The below tools are required to check the same.

  • MobaXterm or Putty or any other default terminal tool for Linux servers.
  • Command prompt (CMD) for Window servers.
  • VNC or XManager to access Linux server, if required.

How to check telnet is available or not?

Once login into the server, just type telne then press tab button. If it is available, then it'll appear with full name as telnet. You can also verify by typing telnet then press enter. If it's not available, the below error message will appear.

'telnet' is not recognized as an internal or external command, operable program or batch file.

Alternative Option:

If it is not available, we can use below CURL command line method, to check the port listening status. Here we have two ways to check the same. For that just login to the destination server,
Method 1 : > curl -v http://<FQDN or Host name or IP>:<PORT>
OR
Method 2 : >curl -v telnet://<FQDN or Host name or IP>:<PORT>

By using above two methods, we can easily check the listening status of port from source server to destination server. Also please make sure that source server IP/host name is able to ping in the target server before performing above methods.
telnet

More network troubleshoot commands:

  • tracert -d <target IP>
  • traceroute <target IP>
  • ping <target IP>

Related Articles :
* Commands To manage the SAP ERP/S4 with Hana DB on Linux-suse/redhat servers


Thank you!

"I hope this Article is helpful to you. If you like this, hit me with Face book like button and share it. If you have any queries, let me know as a comment below"

Comments

Popular posts from this blog

New Hidden Instagram Features: Auto-Scroll, Playback Speed, Closed Captions (CC) & Full-Screen Mode

Instagram continues to improve the way people watch and interact with short-form videos. While most users are familiar with basic Instagram Reels controls, the platform is introducing and testing several useful playback features that many people may not have noticed yet. These features make watching Reels more convenient, flexible, and enjoyable. Whether you want to watch videos without touching your screen, adjust playback speed, read captions while watching, or enjoy videos without distracting interface elements, Instagram's newer playback controls offer something useful. In this guide, we will explore four interesting Instagram features: Auto-Scroll, Playback Speed, Closed Captions (CC), and Full-Screen Mode. We will explain what each feature does, how to access it, and why you might find it useful. 1. Instagram Auto-Scroll Feature – Watch Reels Without Swiping One of the most convenient additions to Instagram Reels is the Auto-Scroll feature. Normally, when watching Insta...

Troubleshooting SAP Fiori Applications & Generic Apps Tiles loading issues

There are many ways we can troubleshoot the SAP Fiori applications, tiles issues & other Odata services problems. Some times, after completed the all Apps configurations also, the respective tiles are may not load properly.  I will guide you with the available possibilities. Tools & Options: Tcodes : /IWFND/ERROR_LOG /IWBEP/ERROR_LOG Page inspection Code tool Meta data Cache cleanup Front/Back end Cache cleanup Complete Troubleshooting guide for Fiori Apps & Tiles issues: As per the information available in the Fiori Apps Library, we will configure & active the all required apps, Right..! Once you assign the Role, respective App should be appear under the respective Catalog & Group. But some times may not load the tile or may get the error like "Can't load the groups" or "can't load the tile" when you open the App. It may happen due to some Odata services mapping issue or may be due to the wrong system ali...

SAP Basis Administrator job roles & responsibilities including Hana, S4 Fiori, Solman

Dear, you should know the all roles & tasks responsibilities as a SAP Basis Consultant. Here, I will try to give the information on daily, weekly and monthly base activities. Including S4 Hana, Fiori, Solution Manager 7.1/7.2 and on Hana Databases and other DB's. Definition of SAP Basis The SAP Basis Administrator is responsible for the management of the SAP environment. Other responsibilities like implementing, configuring and troubleshooting the sap technical environment. As well as scheduling and executing the sap transport system. The consultant is also responsible for installation, upgrade and maintenance of SAP systems. Additional Roles & Responsibilities : Additionally the consultant should able to do configuration, monitoring and tuning of the sap technical environment.  Also able to design of interfaces between the SAP and external systems, optimize & analyze the performance issues, design the architecture of the landscape. He should be able to... ...