Netconf (restconf) connection via SSH from Postman


We are trying to connect to a Network Device via Netconf (restconf) with postman via SSH port 22 or 830. We can connect to the browser of the device without ssh port via postman, but not with port 22. Can anyone help?


To work with network devices and Postman you’ll want to use RESTCONF, which is the HTTP variation of NETCONF that uses YANG models to drive the API. RESTCONF typically will run on port 443, though this can be changed and configured.

Port 22 would be for an SSH based CLI interface, and 830 would be for NETCONF over SSH. Neither of these would be used with POSTMAN or REST API style interaction.

For a walkthrough using RESTCONF and Postman you can look at this Learning Lab from DevNet: