1
00:00:01,210 --> 00:00:06,370
So in this session, we are going to learn how we can train the port authorities from six three seven

2
00:00:06,370 --> 00:00:07,850
nine to any other port.

3
00:00:08,290 --> 00:00:10,300
So if I do, that is how fancy a line here.

4
00:00:10,300 --> 00:00:14,710
You can see that this client is connecting to the server on Port six three seven nine.

5
00:00:15,190 --> 00:00:22,320
And I'm going to close or I'm now going to stop release by typing down, hit, enter and now that this

6
00:00:22,330 --> 00:00:23,030
has been stopped.

7
00:00:23,050 --> 00:00:29,170
So now I'm going to press controls here to come out of this problem and now we need to see the current

8
00:00:29,170 --> 00:00:29,680
position.

9
00:00:29,680 --> 00:00:35,190
So we are right now at this admin and we have a release folder inside this.

10
00:00:35,210 --> 00:00:39,730
I'm going to go inside this folder by typing Service-based Spaceless Hyphen 5.0.

11
00:00:39,850 --> 00:00:40,790
It hit Enter.

12
00:00:41,440 --> 00:00:47,130
And now if I do asifa analogy, you will notice there is a configuration file which is called that is

13
00:00:47,170 --> 00:00:47,770
dot com.

14
00:00:48,100 --> 00:00:51,280
So this is the configuration file where the port resides.

15
00:00:51,290 --> 00:00:53,490
So we need to make changes inside this file.

16
00:00:53,710 --> 00:00:55,980
So I'm going to do very well dot com.

17
00:00:57,070 --> 00:01:00,880
And here you can see there is a default port, which is called six three seven nine.

18
00:01:01,900 --> 00:01:08,380
So I'm going to change this four to six to seven zero, and we need to save it and come out of this

19
00:01:08,380 --> 00:01:08,710
file.

20
00:01:09,040 --> 00:01:14,310
Now, what we need to do is we need to run this hyphens over again to start the server.

21
00:01:14,320 --> 00:01:17,610
And here we also need to specify the configuration file.

22
00:01:18,070 --> 00:01:23,850
Remember last time when we started this, we just type release hyphen server and we type in person.

23
00:01:24,190 --> 00:01:29,080
We did not give part of any configuration file, so that's why it picked up all the default settings.

24
00:01:29,440 --> 00:01:31,150
This time I'm going to say that is not.

25
00:01:31,150 --> 00:01:34,330
Com and we also want to run that is in the background.

26
00:01:34,330 --> 00:01:37,900
So I'm going to do in-person and hit enter.

27
00:01:38,350 --> 00:01:44,500
And now you can see that this has been started and it is running on four six three seven zero now.

28
00:01:45,100 --> 00:01:46,300
So it's going to hit enter.

29
00:01:46,300 --> 00:01:49,510
So come out of this prompt and now we're hearing the problem.

30
00:01:49,540 --> 00:01:56,500
So now if I'm going to connect to this by typing Restifo NCLR, you will notice that we are going to

31
00:01:56,500 --> 00:01:58,450
get error, that it is not connected.

32
00:01:59,350 --> 00:02:05,110
But whereas you only know that we are aware that this is up and we are able to connect to that.

33
00:02:05,200 --> 00:02:10,210
So what is happening here is that when you type this happens here, like by default it tries to connect

34
00:02:10,210 --> 00:02:12,210
to that is on board six three seven nine.

35
00:02:12,670 --> 00:02:18,340
So as you can notice here it is trying to connect to this server on board six to seven nine, whereas

36
00:02:18,340 --> 00:02:20,830
we are running that is on four six three seven zero.

37
00:02:21,130 --> 00:02:27,610
So what we need to do is let's come out of from here by doing control C and then we need to type that

38
00:02:27,640 --> 00:02:29,110
is halfpence here and here.

39
00:02:29,110 --> 00:02:31,830
We need to specify the port on which we want to connect.

40
00:02:31,840 --> 00:02:38,200
So here I'm going to say hyphen P and I'm going to say six three seven zero and hit enter.

41
00:02:38,230 --> 00:02:44,410
This time you can see that we have been successfully able to connect to the server on policy three seven

42
00:02:44,410 --> 00:02:44,750
zero.

43
00:02:45,170 --> 00:02:53,020
Now I'm just going to write some data by using subspace space color and let's put it into it is saying

44
00:02:53,020 --> 00:02:55,060
okay, which means we are able to write data two.

45
00:02:55,060 --> 00:02:58,690
That is also we are going to read the data by doing color.

46
00:02:59,910 --> 00:03:06,510
And Kate, until now, you can see we have got white as the value back, so this means that we have

47
00:03:06,510 --> 00:03:10,190
seen the port default port authorities from six three seven nine.

48
00:03:10,200 --> 00:03:13,230
And now we are connected to that is on Port six three seven zero.

49
00:03:13,560 --> 00:03:16,560
And now that this is running on six three seven zero port.
