Tag:Port number

  • Springclub01 – Infrastructure


    1、 Spring Club 1. Introduction to spring cloud Spring cloud is a collection of frameworks. It makes use of the development convenience of spring boot to skillfully simplify the development of distributed system infrastructure, such as service discovery registration, configuration center, message bus, load balancing, circuit breaker, data monitoring and so on. All of them […]

  • Centos7 install mongodb 4.2.9 and PHP extension


    Visit mongodb website https://www.mongodb.com/try/download/community , there are options on the right. Here, select centos7 + tgz + 4.2.9. [[email protected] src]# wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.9.tgz –2020-09-29 15:01:18– https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.9.tgz Resolving host fastdl.mongodb.org ( fastdl.mongodb.org )…,,, … Connecting fastdl.mongodb.org ( fastdl.mongodb.org )| |: 443… Connected. HTTP request issued, waiting for response… 200 OK Length: 132776427 (127m) [application […]

  • Two methods of debugging JS with vs Code


    This paper introduces two methods of debugging JS with vs code Quokka.js plug-in unit Debugger for Chrome with live server Quokka.js plug-in unit Plug in address Search the extension store for installation: Using shortcut keys in vs Codectrl+shift+PCall up the panel and inputquo: You can see that there are two options, one is to debug […]

  • Cross domain CORS


    Cross domain Cross domain summaryTime: September 2, 2020 The cause of cross domain browser homology strategy 1.1 homologyIP, protocol, port number Solution 2.1 CORSBack end configuration:` res.setHeader(“Access-Control-Allow-Origin”, “”)// res.setHeader(“Access-Control-Allow-Origin”, “*”)res.setHeader(“Access-Control-Allow-Credentials”, “true”)` //When withcredentials = true is configured, the response header information access control allow origin must be added in the back end, and the domain […]

  • Using IIS to create a new WebService site for Android to access remote SQL Server database


    New website Open the IIS console, find the service root directory, right-click and create a new website Website settings Browsing test Use the default HelloWorld service 1 page generated just now, and remember to add the port number http://localhost:8090/service1.asmx If the following screen appears, the setting is successful

  • C / C + + network programming — Linux implementation


    Network programming is to write programs to exchange data between two networked computers. Example: open a socket on the server side to listen to port 9999. The client sends a request to the server. After receiving the request, the server sends a “Hello world” to the client; Server side:     Step1: call socket function […]

  • Tiktok crawler tutorial, from 0 to 1, environment configuration


    preface This series mainly introduces the related process of tiktok crawler. Because of the need for scientific research, we choose to climb the video data, including tiktok. Crawling idea is to crawl users first, and then crawl their corresponding published video data according to users. In this blog, I will introduce the environment configuration. 1、 […]

  • Regular verification often used in PHP development


    preface In the process of developing PHP program, there are often many expressions to deal with, and verifying the validity of the data filled in the form must be considered to prevent the invalid data from affecting the database.There are a lot of tutorials and manuals about the grammar of regular expressions on the Internet, […]

  • Use the CMD command line (. Net core CLI) to start ASP.NET Multiple instances of core applications


    This chapter mainly shares with you how to use the CMD command line (. Net core CLI) to start ASP.NET Multiple instances of the core application to simulate a cluster. The. Net core command line interface (CLI) tool is a cross platform tool chain for developing, building, running and publishing. Net core applications. The CLI […]

  • 003_ Linux command summary


    003_ Linux command summary 0th 1th firewall Firewall CMD command firewall-cmd –list-ports firewall-cmd –add-port=9092/tcp –permanent –The permanent parameter must be added man firewall-cmd After opening a port number, you must reload it with reload, otherwise it will not take effect firewall-cmd –reload firewall-cmd –remove-port=9092/tcp Close the port 2th netstat -lnpt Ports 2181 and 9092 are […]

  • Some problems in learning Tomcat


    Tomcat installation configuration First, you need to configure Java_ Home and JRE_ The environment variable of home, the address is the Java root directory path, such as F: \ Download the installation free compressed package from Tomcat website. After decompression, the DOS window enters the bin file, and then runs to the service startup, such […]

  • Integrating hikaricp connection pool in spring


    1、 Add related dependencies to the project open pom.xml File, add the following two dependency configurations 1) Mysql database driven dependency 2) JDBC support for spring objects (hikaricp connection pool will be downloaded by default) 2、 Configure the hikarip connection pool open application.properties Configuration file, add the following content (required) spring.datasource.url=jdbc:mysql://localhost:3306/dbgoods?serverTimezone=GMT%2B8&characterEncoding=utf8 spring.datasource.username=root spring.datasource.password=root Pay attention […]