HTTP VS TCP

gudii9
gudii9 used Ask the Experts™
on
I was reading as below

TCP - is a transport layer protocol. It works over an IP network
HTTP - is an application protocol. It works using TCP on an IP network

i was not clear. Does HTTP also uses HTTP
what other protocols there in networking.

nay good link, resources or free video tutorial to understand clearly these things?
please advise
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixer of Problems
Most Valuable Expert 2014
Commented:
Here https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol you can find more than you ever wanted to know.
nociSoftware Engineer
Distinguished Expert 2018
Commented:
There are even more layers...
Bottom layer 1: the wiring (coax, UTP, radio...)
Layer 2: (Ethernet, TokenRing, TokenBus, ...)
Layer 3: IP
Layer 4: TCP - UDP ...
Layer 5,6 are(defined in OSI and arguably in the RPC protocols on TCP/UDP)
Layer 7: presentation ( from stack to program...) like HTTP,  DNS, SSH, TELNET, etc. etc.
Jeff GloverSr. Systems Administrator
Commented:
I wrote the attached document years ago when I was still teaching Networking classes. the data is still relevant but by no means complete. It is too much to actually try to address every application layer protocol in existence and as you will see from the wikipedia page Dave shared, each one has more info than we really need.  You are welcome to peruse it. I hope it helps you understand TCP/Ip a little. I know it helped the students I taught.
TCP-IP.docx
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

nociSoftware Engineer
Distinguished Expert 2018
Commented:
I have to amend my previous answer, i was attended to a typo there, L7 (layer 7) is the application layer not the presentation layer.
Steve JenningsSr Manager Cloud Networking Ops
Commented:
There are LOTs of other protocols that are classified by where they "fit" on the OSI 7 layer schema. Google or Bing "Open Systems Interconnection", find one from a reputable source, and scan through them.

"Clearly" understanding these things is a career. Many of the participants on this forum have years of experience and would freely admit they don't clearly understand ALL of them.

Here's a link I grabbed at random from a simple search:

https://www.techrepublic.com/blog/data-center/cisco-administration-101-understand-the-osi-model-to-become-a-better-cisco-troubleshooter/

That's not a definitive guide to understanding network protocols, it is a bunch of information slapped on a page that should generate questions for you to further research.

The oversimplified answer to your question is that HTTP provides a method for communicating with what's commonly called a "web" server. HTTP provides verbs like GET, POST, HEAD, DELETE, and some others used to facilitate that communication. A high level HTTP client request might look like:

GET /index.html HTTP/1.1
Host: www.somewebsite.com

And a response might look like:

HTTP/1.1 200 OK
Date: Mon, 04 Feb 2018 15:38:34 GMT
Content-Type: text/html; charset=UTF-8
Content-Encoding: UTF-8
Content-Length: 138
Last-Modified: Wed, 08 Jan 2018 13:41:52 GMT
Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux)
Connection: close

<html>
<head>
  <title>This is Some Stuff on a Page</title>
</head>
<body>
  This is some HTML code, but you can't see the code if the syntax is correct.
</body>
</html>

As you can see, there are no IP address or Ports contained in this HTTP exchange. So that's why it is contained WITHIN a TCP packet . . . and the TCP packet contains Source and Destination IP addresses and Source and Destination ports . . . along with some other complicated stuff.

Have fun!
Steve
Seth SimmonsSr. Systems Administrator

Commented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- Dave Baldwin (https:#a42454764)
-- noci (https:#a42454916)
-- Jeff Glover (https:#a42455589)
-- noci (https:#a42456025)
-- Steve Jennings (https:#a42458455)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial