DalexL
Active member
- Joined
- Jul 3, 2010
- Messages
- 34
- Programming Experience
- 3-5
I have a server utilizing an HTTPListener. I want to be able to communicate to the server from other computers, some not even on the same network. I've set up a port forward and found my router IP. Sadly, I can't find a way to get it to connect though. I think the problem is that I don't have the needed prefix. Here is a list of the prefixes I have now:
What prefix needs to be added to allow me to access the server, via IP.
Thanks...
VB.NET:
With listener
.Prefixes.Add(String.Format("http://{0}:{1}/", "localhost", PORT.ToString))
.Prefixes.Add(String.Format("http://{0}:{1}/", machineName, PORT.ToString))
.Prefixes.Add(String.Format("http://{0}/{1}/", "localhost", theService))
.Prefixes.Add(String.Format("http://{0}/{1}/", machineName, theService))
.Prefixes.Add("http://127.0.0.1/")
.Start()
End With
What prefix needs to be added to allow me to access the server, via IP.
Thanks...