tcpsrv_e: cannot establish central server port, sorry.

Questions regarding the DCMPRINT library, a DCMTK add-on that implements a DICOM Print Management SCP and SCU

Moderator: Moderator Team

Post Reply
Message
Author
Rudo
Posts: 5
Joined: Wed, 2009-10-21, 20:03

tcpsrv_e: cannot establish central server port, sorry.

#1 Post by Rudo » Thu, 2009-10-22, 12:16

I am trying to use the precompiled static binary tcpsrv_e:

debian lenny

cpsrv.cfg:
[Server]
Port = 27122
ServerAETitle = AE_HP_PAPIER

tcpsrv_e -c /etc/tcpsrv.cfg
cannot establish central server port, sorry.

strace tcpsrv_e -c /etc/tcpsrv.cfg gives:
bind(6, {sa_family=AF_INET, sin_port=htons(10000), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)

Any hints?

regards
rudo

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier » Mon, 2009-10-26, 21:30

This is the number of the message port which is used for interprocess communication, see option --message-port.

Rudo
Posts: 5
Joined: Wed, 2009-10-21, 20:03

#3 Post by Rudo » Tue, 2009-10-27, 14:45

Jörg Riesmeier wrote:This is the number of the message port which is used for interprocess communication, see option --message-port.
Thank you for answering.

A small hint in the error message would be very fine:
cannot establish central server port. Message port 10000 already used, sorry.
Last edited by Rudo on Mon, 2012-10-08, 01:37, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier » Tue, 2009-10-27, 14:57

Thank you for the hint on the error message. I put down a note to our internal to-do list ...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest