Well, I've found a few possibilities. I haven't tried them out yet, but I thought I'd share them here for anyone who's interested:
PortMapper - The PortMapper-Server is a program, that listens a port (or ports) of a computer and transmits all the incoming requests to some other port of other computer. The PortMapper-Client is graphical tool for administering of Server.
http://sourceforge.net/projects/portmapper/files/
Listenport - Listens on a selected TCP port and displays remote IP and source port when connection is received. [Windows utility]
http://sourceforge.net/projects/listenport/
Blingd (prealpha) - Blingd is a multi-purpose daemon for UNIX/Linux that listens on an arbitrary TCP port. When queried, blingd will return a configurable message or random blings.
http://sourceforge.net/projects/blingd/
Sock4Log (beta) - Sock4Log is a simple java xml serwer. Sock4Log will listen for client connections on the specified port number. It is created for retrieving xml log data from Flash Swf aplications which are using XmlSocketConnection.
http://sourceforge.net/projects/sock4log/files/