/etc/services文件是记录网络服务名和它们对应使用的端口号及协议,很多的系统程序要使用这个文件。一般情况下,不要修改该文件的内容,否则可能会造成端口冲突

常见的服务如下,各个字段分别表示:service-name  port/protocol  [aliases ...]   [# comment]

[root@localhost ~]$ cat /etc/services 
ssh             22/tcp                          # The Secure Shell (SSH) Protocol
telnet          23/tcp
http            80/tcp          www www-http    # WorldWideWeb HTTP
domain          53/tcp                          # name-domain server
mysql           3306/tcp                        # MySQL

 

 

 

 

 

     

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-04-21
  • 2021-10-20
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-12
  • 2021-12-15
  • 2021-09-25
  • 2021-04-30
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
相关资源
相似解决方案