+ 60
Can we make https server using programming languages?
17 Answers
+ 13
Yes bro you can write your own http server
by proggraming language like python, ruby,Java script etc.
+ 12
Yes bro.. Check out this link
https://developer.mozilla.org/en-US/docs/Learn/Server-side/First_steps/Introduction
+ 11
💜Queen💜 like as sl profile's links
+ 10
if new to Programming; Please google search on Node JS. Very easy to install on all OS's and creating https is as easy as pie (Hello World! ), but as others say many different languages can achieve same purpose here just one example with node js. Python Flask is another great one to learn.
const http = require('http');
const requestListener = function (req, res) {
res.writeHead(200);
res.end('Hello, World!');
}
const server = http.createServer(requestListener);
server.listen(8080);
"Happy learning is coding fantastic"
+ 8
Yes
I made this in PYTHON
https://code.sololearn.com/cA01A3A9A188/?ref=app
This is just an example. You should use C/C++ for this purpose
+ 7
as said by ChillPill sir..
if you want to write your serverside in c/c++ you could also use cgi / fast-cgi .. that way you wont even need any single library ... just <isotream> and <fstream> is more than enough for most of tasks ...( i have done it once >_< and its lot fun.. i made something like expressJs with bare metal c++ .. its really a fun task )
but you will need apache server for that ..
leme know if you want to know more about fast-cgi
but if your goal is to make something like apache server itself then socket programming is way to go ...
+ 5
Yes, Of Course!
I Have Done it in Node JS & Python!
+ 4
Why not? Yes, you can😊😊
+ 3
Yeah, you can do that with pretty much any language. Java, JavaScript or Python whichever you prefer.
+ 3
Sure
+ 2
yep
+ 2
Yeah, bro
- 4
If you made server from http module unit by scratch
Can make if you know in detail kernel works, network driver, syscall and tcp/ip, osimodel, ssl/tls etc...
else, if you want to make low layer http server, u use C language the same as httpd and nginx.
and also if don't care about extensibilty, then using the module prepared in advance, so can make by python ruby .net etc. simply.
- 7
First time I tried coding loved it