Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
sorry i'am is newne vb.net 2010 .I want to make local web server on port 8081 but I never managed..saya sudah mencoba tutorial dari link http://www.santry.com/Blog/tabid/90/ID/1289/Writing-a-Simple-HTTP-Server-in-VBNet.aspx[^] but it did not work as well ... please help me
Posted
Comments
pdoxtader 21-Feb-15 9:24am    
This isn't the way it works here. You need to attempt it yourself, and when you run across a problem, ask a question about it here.

What you're doing with this question is asking us to write the code for you, and no one here is going to do that.

What you call a "Web server" is essentially an "HTTP Server". Writing some rudimentary server, just compliant with HTTP protocol and serving up some content as is is not really a difficult problem, even if you do it from scratch, but even that is not needed if you start here: https://msdn.microsoft.com/en-us/library/system.web.http.httpserver%28v=vs.118%29.aspx[^].

"Real" HTTP server are different from that in the way they serve up content. They have some plug-in architecture which allows them to host all those server-side scripting technologies, and other server-side technologies, such as server-side includes, routing, URL rewrite and a lot more; another issue is some protection against malicious attacks. Even with all that, any good Web browser is much more complicated.

See also:
http://en.wikipedia.org/wiki/HTTP[^],
http://en.wikipedia.org/wiki/HTTP_Server[^].

—SA
 
Share this answer
 
v2
Comments
modotz 21-Feb-15 23:47pm    
I've tried browsing and I found here ..[^]. but this from c # and after I try also Unable to connect
Sergey Alexandrovich Kryukov 22-Feb-15 8:51am    
Who knows how you tried it..?
—SA
I've tried browsing and I found here Build Your Own Web Server[^]. but this from c # and after I try also Unable to connect.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 22-Feb-15 8:52am    
Sorry, this is not a "solution". Such posts are considered as abuse...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900