ntp协议端口号

NTP is a core protocol used today’s IT infrastructure to synchronize date and time information. In order to work properly, we need to configuration NTP port in our server, client and intermediate systems like switch, firewall, router.

NTP是当今IT基础结构使用的核心协议,用于同步日期和时间信息。 为了正常工作,我们需要在服务器,客户端和交换机,防火墙,路由器等中间系统中配置NTP端口。

NTP端口UDP 123 (NTP Port UDP 123)

NTP uses the UDP port number 123 by default. NTP services run on UDP protocol because of the UDP simplicity and performative behavior. NTP is also a very simple protocol just like ask and get response manner which is very well suited with the connectionless UDP protocol.

NTP默认使用UDP端口号123。 由于UDP的简单性和执行行为,NTP服务在UDP协议上运行。 NTP也是一种非常简单的协议,就像“问与答”响应方式一样,非常适合无连接UDP协议。

可靠的NTP端口TCP 123 (Reliable NTP Port TCP 123)

As stated previously NTP uses UDP transmission protocol by default with port number 123. As UDP is not fully reliable protocol it may create some problems during usage. TCP provides more reliable transmission of the protocol packages. So TCP port number 123 can be used for more reliable and less problematic NTP transmission.

如前所述,NTP默认使用端口号为123的UDP传输协议。由于UDP并非完全可靠的协议,因此在使用过程中可能会产生一些问题。 TCP提供了更可靠的协议包传输。 因此,TCP端口号123可用于更可靠和较少问题的NTP传输。

Linux NTP端口配置 (Linux NTP Port Configuration)

In this part, we will learn basic steps to list and change NTP port configuration. These steps can be run all major Linux distributions like Ubuntu, Debian, Mint, Kali, Fedora and CentOS.

在这一部分中,我们将学习列出和更改NTP端口配置的基本步骤。 这些步骤可以在所有主要Linux发行版上运行,例如Ubuntu,Debian,Mint,Kali,Fedora和CentOS。

列出NTP服务端口 (List NTP Service Ports)

We will start by listing NTP ports with the tool netstat and grep . We will grep port number 123 from the output of the netstat command listening UDP and TCP ports.

我们将从使用工具netstatgrep列出NTP端口开始。 我们将从netstat命令的输出中grep端口号123监听UDP和TCP端口。

$ netstat -tuln | grep 123

List NTP Ports
列出NTP端口

We can see that there are NTP services listening port number 123 in different interfaces like localhost which is 127.0.0.1 and all interfaces 0.0.0.0

我们可以看到在不同的接口(例如localhost为127.0.0.1和所有接口0.0.0.0都有NTP服务侦听端口号123

打印NTP服务状态 (Print NTP Service Status)

In Linux distributions, NTP services status can be listed with the systemctl command like below.

在Linux发行版中,可以使用systemctl命令列出NTP服务状态,如下所示。

$ systemctl status ntp

Print NTP Service Status
打印NTP服务状态
.u4b9a7a7a284cce5ff7676c2c7bc85314 , .u4b9a7a7a284cce5ff7676c2c7bc85314 .postImageUrl , .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text-area { min-height: 80px; position: relative; } .u4b9a7a7a284cce5ff7676c2c7bc85314 , .u4b9a7a7a284cce5ff7676c2c7bc85314:hover , .u4b9a7a7a284cce5ff7676c2c7bc85314:visited , .u4b9a7a7a284cce5ff7676c2c7bc85314:active { border:0!important; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .clearfix:after { content: ""; display: table; clear: both; } .u4b9a7a7a284cce5ff7676c2c7bc85314 { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #ECF0F1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); } .u4b9a7a7a284cce5ff7676c2c7bc85314:active , .u4b9a7a7a284cce5ff7676c2c7bc85314:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #D35400; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text-area { width: 100%; position: relative; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .ctaText { border-bottom: 0 solid #fff; color: #3498DB; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .postTitle { color: #27AE60; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .ctaButton { background-color: #e6e6e6!important; color: #3498DB; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://www.poftut.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .u4b9a7a7a284cce5ff7676c2c7bc85314:hover .ctaButton { background-color: #E67E22!important; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text { display: table; height: 80px; padding-left: 18px; top: 0; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .u4b9a7a7a284cce5ff7676c2c7bc85314-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .u4b9a7a7a284cce5ff7676c2c7bc85314:after { content: ""; display: block; clear: both; }

LEARN MORE  What Is Nettime and How To Use Nettime?

.u4b9a7a7a284cce5ff7676c2c7bc85314 , .u4b9a7a7a284cce5ff7676c2c7bc85314 .postImageUrl , .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text-area { min-height: 80px; position: relative; } .u4b9a7a7a284cce5ff7676c2c7bc85314 , .u4b9a7a7a284cce5ff7676c2c7bc85314:hover , .u4b9a7a7a284cce5ff7676c2c7bc85314:visited , .u4b9a7a7a284cce5ff7676c2c7bc85314:active { border:0!important; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .clearfix:after { content: ""; display: table; clear: both; } .u4b9a7a7a284cce5ff7676c2c7bc85314 { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #ECF0F1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); } .u4b9a7a7a284cce5ff7676c2c7bc85314:active , .u4b9a7a7a284cce5ff7676c2c7bc85314:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #D35400; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text-area { width: 100%; position: relative; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .ctaText { border-bottom: 0 solid #fff; color: #3498DB; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .postTitle { color: #27AE60; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .ctaButton { background-color: #e6e6e6!important; color: #3498DB; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://www.poftut.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .u4b9a7a7a284cce5ff7676c2c7bc85314:hover .ctaButton { background-color: #E67E22!important; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .centered-text { display: table; height: 80px; padding-left: 18px; top: 0; } .u4b9a7a7a284cce5ff7676c2c7bc85314 .u4b9a7a7a284cce5ff7676c2c7bc85314-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .u4b9a7a7a284cce5ff7676c2c7bc85314:after { content: ""; display: block; clear: both; }

了解更多什么是Nettime以及如何使用Nettime?

翻译自: https://www.poftut.com/ntp-port-number-and-configuration-tutorial-for-linux-local-system/

ntp协议端口号

ntp协议端口号_Linux本地系统的NTP端口号和配置教程相关推荐

  1. linux mysql 端口号_linux下mysql 查看默认端口号与修改端口号方法

    一.查看默认端口号 1.登录mysql [root@localhost ~]# mysql -uroot -p Enter password: 输入数据库密码: 2.使用show global var ...

  2. vue获取项目端口号_vue修改vue项目运行端口号的方法

    一.导语 最近在研究,左侧是导航,右侧是显示对应的内容,左右可单独滚动,不互相影响,如何实现? 萝卜蹲的游戏大家都玩过,白萝卜蹲,白萝卜蹲,白萝卜蹲完红萝卜蹲,可是若是在含有滚动条的页面的情况下,白萝 ...

  3. linux 查看所有端口号_linux系统:ss命令

    1.ss命令简介 ss 是 Socket Statistics 的缩写.ss 命令可以用来获取 socket 统计信息,它显示的内容和 netstat 类似.但 ss 的优势在于它能够显示更多更详细的 ...

  4. socket如连接linux上的端口号_Linux| |对于UDP的学习

    UDP # 前序 UDP(用户数据报协议)没有连接的,是面向数据报的,是不可靠 # 套接字 就是IP地址+端口号 IP地址:4字节 端口号:2字节,也就是说范围是0~65536 端口号分为 知名端口号 ...

  5. linux查看开了哪些端口号_Linux如何查看服务器开放的端口号

    概述 平时我们玩linux的时候有时需要看下服务器是不是开放了一些端口号,然后看新的端口会不会冲突之类,讲查看服务器开放端口号之前,先了解一下物理端口.逻辑端口.端口号等计算机概念. 01 端口相关概 ...

  6. ldap协议端口号_什么是LDAP协议端口号? 比较LDAP端口389和636

    ldap协议端口号 Lightweight Directory Access Protocol or LDAP is used to authenticate and authorize users. ...

  7. Gmail,Qmail,163等邮件服务器SMTP、IMAP、POP3、地址及SSL/非SSL协议端口号

    最近项目需要给后台发送邮件,将项目中部分信息与后台同步,于是就有了这篇博客: 以下的内容是参考网上的例子加上自己实践总结了一下. 邮箱默认配置 服务器名称 服务器地址 SSL协议端口号 非SSL协议端 ...

  8. tcp服务器修改端口号,RAKsmart服务器:Windows修改远程端口号的图文教程

    在使用RAKsmart服务器的时候,很多站长不会修改远程端口号,主机侦探教大家Windows修改远程端口号的图文教程. windows远程桌面默认使用的是3389,为了提高服务器安全性,可以修改默认端 ...

  9. Linux系统下禅道的安装以及配置教程

    Linux系统下禅道的安装以及配置教程 首先查看Linux安装的版本,64的还是32的! 查看Linux版本:[root@localhost ~]# getconf LONG_BIT 1.Linux中 ...

最新文章

  1. 第一题:Big Countries
  2. 4:如何实现对两个整数变量的值进行互换。
  3. C# foreach迭代器
  4. how is SAP OData metadata read from CDS view via SADL
  5. RHEL/CentOS/Fedora各种源
  6. shell date常用运算命令
  7. oracle中偏移,怎么对相同的坐标点偏移?
  8. 老师不能把你怎样,但外面的世界可以!
  9. Python中的append()和extend()
  10. win8能开发android的sdk么,Win8下Android SDK安装与环境变量配置教程
  11. Java8中检查字符串在数组中是否存在
  12. 使用过滤器实现网站访问计数器的功能
  13. VUE2.0 elemenui-ui 2.0.X 封装 省市区三级
  14. RS232接口与电平
  15. 5G无线关键技术 — 低时延高可靠物联网设计
  16. O2O优惠券使用预测
  17. 家用nas存储,家庭个人云推荐
  18. 计算机窗口关闭不了怎么办,电脑上一直出现这个窗口关都关不掉怎么处理
  19. python绝对值编程_python中取绝对值简单方法总结
  20. Python小项目——生成个性二维码

热门文章

  1. IO基础 File String
  2. 大事!谷歌将关闭物联网开发平台 Android Things
  3. java的多态代码例子_java多态例子,java多态代码实例
  4. CSS_渐变过渡_动画
  5. 文本生成视频相关指标整理
  6. caffe中LOG(INFO) DLOG(INFO)介绍(统称Google glog)
  7. 学生党如何拿到阿里技术offer:《阿里实习生面试经验(成功)》
  8. Java如何自定义异常?
  9. 苹果 AirTag 防丢器震撼发布,让你的物品精确定位,防止丢失
  10. (ICCV-2021)用于步态识别的3D局部卷积神经网络(一)