Setting LocalEndPoint to "any" IP address?

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

Is there a way I can make a TCPListener's LocalEndPoint accept connections
to any IP? Currently if I try to connect to "localhost" or "127.0.0.1" it
doesn't work. If I try "192.168.0.4" then it works fine.
 
Is there a way I can make a TCPListener's LocalEndPoint accept connections
to any IP? Currently if I try to connect to "localhost" or "127.0.0.1" it
doesn't work. If I try "192.168.0.4" then it works fine.

hmmm... Did you try seting it to 0.0.0.0?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top