Make a Simple HTTP Server in Java - Java Tutorial - Part 3: Server Sockets

  Рет қаралды 21,900

CoderFromScratch

CoderFromScratch

Күн бұрын

Пікірлер: 35
@gone143
@gone143 4 жыл бұрын
These are one of the best tutorials I have ever watched
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much for the feedback! :)
@jameswilliam4570
@jameswilliam4570 4 жыл бұрын
Working on a project that involves these web socket servers, and this tutorial series is my go to resource. You are the best.
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thnaks so much for the comment ! I really do appreciate it! Part 6 out this week!
@tropicaljupiter
@tropicaljupiter 3 жыл бұрын
Great video! Very helpful for beginners.
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Thanks so much ! Glad it was helpful!
@akshitapradeep7115
@akshitapradeep7115 4 жыл бұрын
Loving these videos! Thanks again
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
No problem ! :D Thanks for the feedback!!
@akashmandal5253
@akashmandal5253 10 ай бұрын
Great work sir🙏🏼
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
Thanks a lot!
@satejbhave4166
@satejbhave4166 4 жыл бұрын
Love Your Videoes.... Keep it up bro...
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much for the feedback!!!! Will do!!!
@johnniegilkerson4724
@johnniegilkerson4724 4 жыл бұрын
@9:19 how did you get the browser output? I it through Intelij or just typing in localhost/8080?
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Hi @Johnnie , not sure I understand the question. We connect the Browser to the Server we got running inside IntelliJ by using the URL : localhost:8080 , which is where the server is Bound to. Hope this helps!
@neaguandrei1
@neaguandrei1 4 жыл бұрын
For me the CRLF string must be " ". With " " it fails to serve correctly. Good video though. I wish there would be more to this series.
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much for the comment. You are absolutely correct. That was clearly an error and should have been ( as the comment afterwards says , 13 and 10 ) . Thanks so much for point it out. On the next video of the series I'll call out this correction and a give you a shout-out!
@trayfor
@trayfor 3 жыл бұрын
thanks
@svetlintrapkov3333
@svetlintrapkov3333 2 жыл бұрын
@@SuperCoderFromScratch I will be really greatful if you enlighten me which dipendency did you use for CRLF. Thanks
@federicobigatton6440
@federicobigatton6440 8 ай бұрын
Hello, I can't load the page when I run the application. I reviewed the code and it is exactly as in the tutorial. I have corrected " " to " ". My browser is Firefox 125.0.2. You can help?
@federicobigatton6440
@federicobigatton6440 8 ай бұрын
I already found my mistake, in the HTTP message... I had encoded "Content-Lenght"...
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
Nice catch !
@giovanniangaroni7649
@giovanniangaroni7649 3 жыл бұрын
i code that program with Eclipse and when i run it immediatly it terminats it doesn't give any Error but stops istantly i would it works until i stop it by sending something on chrome
@trayfor
@trayfor 3 жыл бұрын
It happened with me on Microsoft Edge. I opened it on a different browser and it worked. It also worked on Microsoft Edge's inPrivate mode. I believe he miss-typed the carriage return in the video. CRLF should be ' ' not ' '. This might help it run on all browsers.
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Hey thanks so much for helping out! Yeah, that was a bug, which got correct in video 6 or 7.
@aishwarygupta19
@aishwarygupta19 Жыл бұрын
👍👍
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
Thank you!
@sajjadaminsayem
@sajjadaminsayem 3 жыл бұрын
It just works on chrome, but I failed to get a response in Microsoft edge and Postman client.
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
It is probably due to a bug that is explained in a later part of this series. :)
@pianissimo7121
@pianissimo7121 3 жыл бұрын
@@SuperCoderFromScratch thats actually nice. when learning with a perfect code, we don't learn what to do when stuff goes wrong.
@BłażejChmielewski
@BłażejChmielewski 5 ай бұрын
its open eyes when i always using springboot
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
Its nice to look under the hood, isn't it?
@dystopic-q9m
@dystopic-q9m 4 жыл бұрын
hectic
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Very
@Pushpinator
@Pushpinator 2 жыл бұрын
Seeing someone closing resources in the try block is my new nightmare. You should really have at least warned that it's a horrible practice and to always do it in finally, or even better, use try-with-resources
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
Hey, Thanks for the feedback! I haven't look at this code in some time so I'm trying to think why I would have done it that way. Maybe I only want to cleanup resources on an exception and not using finally , which would close it even if no exception was raised? Anyways, thnak for point this out, I'll pay closer attention in the next video and will review the old code with this in mind.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
HTTP Caching with E-Tags -  (Explained by Example)
16:47
Hussein Nasser
Рет қаралды 57 М.
Java Socket Programming - Multiple Clients Chat
40:18
WittCode
Рет қаралды 189 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 289 М.
Java Factorial Server
5:29
Abhay Redkar Academy
Рет қаралды 31 М.
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 229 М.
Top 6 Most Popular API Architecture Styles
4:21
ByteByteGo
Рет қаралды 986 М.
Java socket programming - Simple client server program
8:58
ThenisH
Рет қаралды 608 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН