Am 15.08.2012 18:32, schrieb Denis Loh: > Hi, > > I want to use tntnet for yet another VDR plugin and I was wondering how > I get the ip and port from the stand alone application so that I can use > it somewhere else in the code. I found out, that the application creates > listeners on every interface, but I haven't found how to obtain it. > > If this is not directly possible, is there another way to get the ip and > port the server is listening on? > > Thank you very much > > Denis Hi,
you cat get the server ip using "request.getServerIp()". But unfortunately there is currently no way to get the port. There was never a need for it. Do you need it? I can implement it for the next version. What do you want to do? Why do you want to have it? Maybe virtual hosting is, what you are looking for. Tommi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
