web stats
Port List - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2017, 08:05 AM
SeanSpeer SeanSpeer is offline
Mirth Newb
 
Join Date: Nov 2016
Posts: 6
SeanSpeer is on a distinguished road
Default Port List

Is there a way to get a list of all ports that have been setup to listen on or send to in MC?

I work for a company who has a LOT of channels setup and they have an extremely poor way of cataloging the port assignments.

Thank you!
Reply With Quote
  #2  
Old 01-18-2017, 12:38 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

Well may be you can achieve that at command prompt using this command (for windows)

netstat -abno

which will give something like this

TCP [::]:6661 [::]:0 LISTENING 3068
[mcservice.exe]
TCP [::]:8080 [::]:0 LISTENING 3068
[mcservice.exe]
TCP [::]:8082 [::]:0 LISTENING 3068
[mcservice.exe]
TCP [::]:8090 [::]:0 LISTENING 3068
[mcservice.exe]
TCP [::]:8443 [::]:0 LISTENING 3068


Slightly neater method is to use resource monitor. Type in resmon.exe go to network section. It is a native windows utility.

Last edited by siddharth; 01-18-2017 at 12:58 AM. Reason: more information
Reply With Quote
  #3  
Old 01-18-2017, 06:05 AM
SeanSpeer SeanSpeer is offline
Mirth Newb
 
Join Date: Nov 2016
Posts: 6
SeanSpeer is on a distinguished road
Default

Thank you for the reply but our server is hosted with Mirth and I don't have console access. I was hoping there was some sort of magic wand I could wave and get the desired results.

Thx!
Reply With Quote
  #4  
Old 01-18-2017, 08:35 AM
steve.ela steve.ela is offline
OBX.1 Kenobi
 
Join Date: Nov 2014
Posts: 38
steve.ela is on a distinguished road
Default

Ran into this as well. We use the Notes in the channel to list the port. That way we can sort by it, and see gaps in ports numbers.
It's part of the channel, so it would be in the extracted channel XML files.

Neither way is clean or easy, but at least the information is there.
Reply With Quote
  #5  
Old 01-19-2017, 01:01 PM
jg12345 jg12345 is offline
OBX.3 Kenobi
 
Join Date: Oct 2012
Posts: 105
jg12345 is on a distinguished road
Default

I use this to pull port #'s for Source and destination channels as well as IP's and a lot of other useful information. Check it out!

http://www.mirthcorp.com/community/f...=channelreport
Reply With Quote
  #6  
Old 01-23-2017, 03:32 AM
amble amble is offline
OBX.2 Kenobi
 
Join Date: Nov 2015
Posts: 91
amble is on a distinguished road
Default

If you go to Settings->Backup Config then save the xml file somewhere like C:\tmp

Then drop the attached file here into the same directory (knock off the .xml so the file is rePORT.xsl). Open up your config backup in a text editor and add this line at the very top:

Code:
<?xml-stylesheet type="text/xsl" href="rePORT.xsl"?>
Then save and close it. Then open up the backupconfig in internet Explorer (not had much luck with Chrome and we have to use IE for our environment), and it will give you output similar to below. I've blacked out channel names and profile names from browser address bar.
Attached Images
File Type: png Untitled.png (12.7 KB, 45 views)
Attached Files
File Type: xml rePORT.xsl.xml (1.9 KB, 34 views)
Reply With Quote
Reply

Tags
mirth connect, ports

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation