Datanizze 0 Newbie Poster

Hi! I'm having a problem with vb 2008 thinking my code is obsolete:

listener = New TcpListener(listenport)

So it wants an IP-address before the port:

'Public Sub New(port As Integer)' is obsolete: 'This method has been deprecated. Please use TcpListener(IPAddress localaddr, int port) instead. http://go.microsoft.com/fwlink/?linkid=14202'.

listener = New TcpListener(LocalAddr, listenport)

when Applying the new method I get rid of the complaining about obsolete code, but upon program start I don't get the popup about allowing the program through the firewall, rendering the program useless since it won't work outside the firewall's perimeters :(

The Question:
Is there a way of adding the program to the firewalls "allow-list" or to get the popup manually?
I can use the "old" code, but I like to keep everything up-to-date.