-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadMe.txt
More file actions
22 lines (18 loc) · 819 Bytes
/
Copy pathReadMe.txt
File metadata and controls
22 lines (18 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Language: Python 2.7.15 :: Anaconda, Inc.
How to run server on terminal:
Go to the server.py directory
type python Server.py
The Server starts running and waits for client connection
How to run Client on terminal:
Go to the client.py directory
type python Client.py 127.0.0.1 8112 helloWorld.html -> This gives the data on the client side
or
type python Client.py 127.0.0.1 8112 someOtherFile.html -> This gives the 404 Not Found Error on Client side
How to run on browser:
Go to the server.py directory
type python Server.py
The Server starts running and waits for client connection
Open a browser, and type:
http://localhost:8111/helloWorld.html -> This prints HelloWorld on the screen
or
http://localhost:8111/someOtherfile.html -> This gives the 404 Not Found Error on Client side