zoukankan      html  css  js  c++  java
  • 各种服务的默认端口号

    默认端口号

    Tomcat 8080
    ZooKeeper 2181
    Redis 6279
    ActiveMQ 8161

    Tomcat 8080

    ZooKeeper 2181

    /zookeeper-3.4.13/conf/zoo.cfg

    # The number of milliseconds of each tick
    tickTime=5000
    # The number of ticks that the initial 
    # synchronization phase can take
    initLimit=10
    # The number of ticks that can pass between 
    # sending a request and getting an acknowledgement
    syncLimit=5
    # the directory where the snapshot is stored.
    # do not use /tmp for storage, /tmp here is just 
    # example sakes.
    dataDir=/Users/acui/zookeeper-3.4.13/dataDir
    dataLogDir=/Users/acui/zookeeper-3.4.13/dataLogDir
    # the port at which the clients will connect
    clientPort=2181
    # the maximum number of client connections.
    # increase this if you need to handle more clients
    #maxClientCnxns=60
    #
    # Be sure to read the maintenance section of the 
    # administrator guide before turning on autopurge.
    #
    # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
    #
    # The number of snapshots to retain in dataDir
    #autopurge.snapRetainCount=3
    # Purge task interval in hours
    # Set to "0" to disable auto purge feature
    #autopurge.purgeInterval=1
    

    Redis 6279

    启动redis服务

    iMac:src acui$ redis-server
    3354:C 18 Feb 18:45:47.391 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
    3354:M 18 Feb 18:45:47.393 * Increased maximum number of open files to 10032 (it was originally set to 256).
                    _._                                                  
               _.-``__ ''-._                                             
          _.-``    `.  `_.  ''-._           Redis 3.2.12 (00000000/0) 64 bit
      .-`` .-```.  ```/    _.,_ ''-._                                   
     (    '      ,       .-`  | `,    )     Running in standalone mode
     |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
     |    `-._   `._    /     _.-'    |     PID: 3354
      `-._    `-._  `-./  _.-'    _.-'                                   
     |`-._`-._    `-.__.-'    _.-'_.-'|                                  
     |    `-._`-._        _.-'_.-'    |           http://redis.io        
      `-._    `-._`-.__.-'_.-'    _.-'                                   
     |`-._`-._    `-.__.-'    _.-'_.-'|                                  
     |    `-._`-._        _.-'_.-'    |                                  
      `-._    `-._`-.__.-'_.-'    _.-'                                   
          `-._    `-.__.-'    _.-'                                       
              `-._        _.-'                                           
                  `-.__.-'                                               
    
    3354:M 18 Feb 18:45:47.398 # Server started, Redis version 3.2.12
    3354:M 18 Feb 18:45:47.398 * The server is now ready to accept connections on port 6379
    

    ActiveMQ 8161

    访问管理web console,http://localhost:8161/

  • 相关阅读:
    Python开发【第六篇】循环语句
    Python开发【第四篇】语句与函数
    Python开发【第三篇】数据类型
    Python开发【第二篇】:初始Python
    2019-10-11入博客第一篇文章
    vim学习2-文档编辑
    vim学习1-入门指令
    linux学习9-进程管理知识
    linux学习8-正则表达式基础
    linux学习7-数据流重定向
  • 原文地址:https://www.cnblogs.com/acuii/p/10398935.html
Copyright © 2011-2022 走看看