Running a NodeJS server with NginX and HTTPS

Many time Nodejs/Express web developers or MEAN stack developers feel very inconvenient when it comes to deploying their app or services on a server. To run a server on a remote machine and to access it without the hassle of adding colons (:) with the port number requires a certain different approach. Another problem that arises is how to set up an https server.

You don’t want your users to add a port number everytime they want to visit your web application even though when you have a domain name. Also, no one wants to visit a website or web application which doesn’t run on an HTTPS server ( “it is not secure” ).

Continue reading “Running a NodeJS server with NginX and HTTPS”

Revisiting the OSI Reference Model

Networking is the term used when people talk about connecting computers together so that they can share information or resources with each other.

OSI model is a logical model for how systems in the network should communicate to each other. All the model does is to break down all the components for communication and arrange them into layers.

Most of us consider OSI as a dominion for outlining a network or as a model which tells us how networking functions. But all OSI is 7 logical layers that allow you to think about a network and then figure out how to build that network or how to fix it.

To understand how all these work is much easier if you focus more on what individual is?

The layers from top to bottom are for what is closer to the end user. So, what the user is interacting with will be at the top, to the layer which is shooting the information out into the network itself.

So we will start the count from 7 not from 1. So, let’s get started. . . .

Continue reading “Revisiting the OSI Reference Model”

VARIEGATION (IoT Based Home Automation System)

“Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution.”
Albert Einstein

What is VARIEGATION?

Inspiration


I had been doing “IoT” for quite some time now. I wanted to try out something through which I could understand IoT as a whole. If you want to know more about IoT, You can read What is IoT ? and To start with the IoT Architecture and Reference Model.

Continue reading “VARIEGATION (IoT Based Home Automation System)”

Swim across some Linux wifi accessories

We have been using Linux and wifi for a long time. There is nothing distinct or surprising in this. Here I am discussing some basic Linux tools which can enhance the way use your wifi on a Linux machine or give you some advantage over normal Linux users.

Continue reading “Swim across some Linux wifi accessories”

Linux Socket Programming

A socket is just a logical endpoint for communication. They exist on the transport layer. You can send and receive things on a socket, you can bind and listen to a socket. A socket is specific to a protocol, machine, and port, and is addressed as such in the header of a packet.

Continue reading “Linux Socket Programming”