X
Xarky
Hi,
I am writing a small web server, to listen on web browser
port(8080), if I'm not wrong. Basically for parsing some tags found
in html.
Now I am doing as follows
TcpListener mainTcp = new TcpListener(8080);
mainTcp.Start();
but the following exception is being given:
Error System.Net.Sockets.SocketException: Only one usage of each
socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start()
When I change the port number (example 65000) it works.
Can someone help me out
Thanks in Advance
I am writing a small web server, to listen on web browser
port(8080), if I'm not wrong. Basically for parsing some tags found
in html.
Now I am doing as follows
TcpListener mainTcp = new TcpListener(8080);
mainTcp.Start();
but the following exception is being given:
Error System.Net.Sockets.SocketException: Only one usage of each
socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start()
When I change the port number (example 65000) it works.
Can someone help me out
Thanks in Advance