网站首页 站内搜索

搜索结果

查询Tags标签: port,共有 483条记录
  • C# 异步接收UDP消息

    C# 异步接收UDP消息 源代码 主要方法 async Task ListenForUdp(int port, Action<UdpReceiveResult> receivedHandle) {using (var udpClient = new UdpClient(port)){while (true){try{receivedHandle(await udpClient.ReceiveAsync());}catch (Exception ex){// 处…

    2021/12/5 17:20:41 人评论 次浏览
  • linux网络编程-多client多server一个watcher

    client.cpp-->client server.cpp-->server watcher.cpp+server.h-->watcherclient.cpp #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <string> #include <unistd.h> #include …

    2021/12/4 7:16:37 人评论 次浏览
  • linux网络编程-多client多server一个watcher

    client.cpp-->client server.cpp-->server watcher.cpp+server.h-->watcherclient.cpp #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <string> #include <unistd.h> #include …

    2021/12/4 7:16:37 人评论 次浏览
  • windows服务器nginx配置多服务(多端口)

    环境云服务器:Windows Server 2012 R2nginx版本:1.19.10项目信息:Jdk1.8、springboot 2.2.13、vue2.0 + ElementUI、mysql8.0.19实施检测服务器端口(使用 nginx代理端口进行访问测试):检测本地端口是否能访问(命令行运行):telnet 127.0.0.1 [port]检测服务器访问…

    2021/12/3 7:06:26 人评论 次浏览
  • windows服务器nginx配置多服务(多端口)

    环境云服务器:Windows Server 2012 R2nginx版本:1.19.10项目信息:Jdk1.8、springboot 2.2.13、vue2.0 + ElementUI、mysql8.0.19实施检测服务器端口(使用 nginx代理端口进行访问测试):检测本地端口是否能访问(命令行运行):telnet 127.0.0.1 [port]检测服务器访问…

    2021/12/3 7:06:26 人评论 次浏览
  • 简单TCP的python实现

    client #!/usr/bin/python3import socket#Create socket object clientsocket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)#host = 192.168.1.104 host = socket.gethostname()port = 444clientsocket.connect((192.168.1.104, port)) #You can substitue the ho…

    2021/12/2 17:37:01 人评论 次浏览
  • 简单TCP的python实现

    client #!/usr/bin/python3import socket#Create socket object clientsocket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)#host = 192.168.1.104 host = socket.gethostname()port = 444clientsocket.connect((192.168.1.104, port)) #You can substitue the ho…

    2021/12/2 17:37:01 人评论 次浏览
  • redisson 异常 IllegalArgumentException: port out of range:-1

    先放原因:【版本不兼容】 异常: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.client.RedisClient]: Factory method redisClient threw exception; nested exception is java.lang.IllegalArgumentException: port…

    2021/11/30 19:08:19 人评论 次浏览
  • redisson 异常 IllegalArgumentException: port out of range:-1

    先放原因:【版本不兼容】 异常: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.client.RedisClient]: Factory method redisClient threw exception; nested exception is java.lang.IllegalArgumentException: port…

    2021/11/30 19:08:19 人评论 次浏览
  • tcpdump的抓包

    tcpdump命令是Linux提供的一个非常强大的抓包工具,熟练使用它,对我们排查网络问题非常有用。如果在机器上还没有安装该工具,则可以使用如下命令安装: yum install tcpdump sudo apt install tcpdump #装不了请bing或google搜索一下tcpdump运行时得有sudo权限 tcpdump的…

    2021/11/30 7:09:51 人评论 次浏览
  • tcpdump的抓包

    tcpdump命令是Linux提供的一个非常强大的抓包工具,熟练使用它,对我们排查网络问题非常有用。如果在机器上还没有安装该工具,则可以使用如下命令安装: yum install tcpdump sudo apt install tcpdump #装不了请bing或google搜索一下tcpdump运行时得有sudo权限 tcpdump的…

    2021/11/30 7:09:51 人评论 次浏览
  • consul配置使用

    consul服务端口号 server: port: 8006 spring: application: name: consul-provider-payment consul注册中心地址 cloud: consul: host: localhost port: 8500 discovery: #hostname: 127.0.0.1 service-name: ${spring.application.name}

    2021/11/28 23:39:51 人评论 次浏览
  • consul配置使用

    consul服务端口号 server: port: 8006 spring: application: name: consul-provider-payment consul注册中心地址 cloud: consul: host: localhost port: 8500 discovery: #hostname: 127.0.0.1 service-name: ${spring.application.name}

    2021/11/28 23:39:51 人评论 次浏览
  • 《SpringCloud超级入门》Spring Boot项目搭建步骤(超详细)《六,深入linux内核架构epub

    @RestController public class HelloController { @Autowired private MyConfig myConfig; @GetMapping("/hello") public String hello() { return myConfig.getName(); } } 定义配置 application.properties 的方法如下: net.biancheng.name=zhangsan profil…

    2021/11/27 7:14:05 人评论 次浏览
  • 《SpringCloud超级入门》Spring Boot项目搭建步骤(超详细)《六,深入linux内核架构epub

    @RestController public class HelloController { @Autowired private MyConfig myConfig; @GetMapping("/hello") public String hello() { return myConfig.getName(); } } 定义配置 application.properties 的方法如下: net.biancheng.name=zhangsan profil…

    2021/11/27 7:14:05 人评论 次浏览
扫一扫关注最新编程教程