1、 Boot prompt port occupied (linux)

start-up ninx appear nginx: [emerg] bind() to0.0.0.0:80 failed (98: Address already in use)

netstat -ntpl Find occupied e.g 8730 , Delete the process , kill -9 15111   check netstat -ntpl, Delete again , Start up until it is not occupied

2、 No error reported during startup , Client cannot access (linux)

//linux Port firewall is not open

Turn off firewall iptables -F

vi /etc/selinux/config   Set to disabled

3、 Port occupied (windows)

// use telnet Come on ping : win7 It needs to be turned on or off windows Install this service in the service

telnet 192.168.1.1 8080 Fast ping

netstat -ano View all

netstat -aon|findstr "8730"   View specific ports

tasklist|findstr "pid"   View the port pid The program occupies

taskkill /f /t /im nginx.exe End the program

linux、windows build nginx More related articles in the problem collection

  1. linux The structures, Nginx

    Linux To build nginx, And simple configuration   In the last company, it is operation and maintenance installation nginx, After arriving at the new company, the code development is completed and the test server is required to be installed by itself nginx, After studying for a long time and installing , You have to install it yourself when you go online , Simply write down the installation steps by yourself ...

  2. linux The structures, nginx+mysql+apache

    For developers , Conduct Web You can use Apache Test the website , But when a Web When the program is released ,Apache The poor concurrency performance is very prominent in , At this time, configure a Nginx The server is particularly important . Here's the configuration Nginx ...

  3. linux To build nginx+php+mysql The environment is explained in detail

    1.mysql install # Installation and compilation environment yum install -y gcc gcc-c++ gcc-devel g++ g++-devel; yum install -y wget yum instal ...

  4. Windows build nginx rtmp The server

    1. Environment development environment :windows development tool :ffmpeg.nginx.nginx-rmtp-module.vlc media player player 2. Prepare official documents ffmpeg Download address :http://ww ...

  5. linux To build nginx+ftp, Achieve file upload and access

    ftp Server setup 1. A new user ftpuser And specify the home directory as /home/ftpuser ( Be careful : This directory is the directory where files are stored and read later ) <!-- Create a user and specify the home directory --> useradd -d ...

  6. Linux The structures, nginx php Environmental Science

    Download the package you need to install openssl-1.0.1i.tar.gz zlib-1.2.8.tar.gz pcre-8.35.tar.gz nginx-1.7.4.tar.gz The above is nginx Dependency file lib ...

  7. linux The structures, nginx+php(FastCGI)+mysql Running environment

    One . Installation environment 1.CentOS5.5 2.php5.4 3.MySQL5.5.19 Two . The installation program depends on the library and development environment To save time, install all the required library files , have access to rpm Package installation , It can also be used. yum Command to install , 1 ...

  8. Linux The structures, Nginx+MySQL+PHP

    stay CentOS6.3 Practice through . 1. Turn off firewall [root@CentOS ~]# chkconfig iptables off 2. close selinux vi /etc/sysconfig/selin ...

  9. linux To build nginx

    Installation package :( Just do it in sequence , It doesn't matter to repeat )c++ Compile environment yum install gcc-c++ install pcre yum -y install pcre-devel install openssl yum -y i ...

Random recommendation

  1. luogu p1268 The weight of the tree —— structure , Real test of programming ability

    Topic link :http://www.luogu.org/problem/show?pid=1268#sub -------- This question took me a lot of thought = = In fact, there is no difference between thinking and nominal , But because I'm not used to it ACM Style questions ...

  2. tomcat+mysql Database connection pool operation

    Use tomcat Medium context.xml Set up connection pool Open file :Apache Software Foundation\Tomcat 6.0\conf\context.xml <Resource ...

  3. This summer vacation is not good AC1

    Description " This summer vacation is not good AC?"  " Yes ."  " So what are you doing ?"  " Watch the world cup , Idiot !"  " ...

  4. Delphi Get and set the system time format , namely GetLocaleInfo and SetLocaleInfo

    stay Delphi in , Especially when writing management system software , Often used FormatDateTime In order to TDateTime The date time of format is converted into the value of string form to display or save , Or use StrToDateTime Jiangzi ...

  5. 【Android Basics 】eclipse Common shortcut key

    Alt+/ Content assist key -- List the relevant contents Ctrl+shift+o Import all the required class packages Ctrl+1 On the existing wrong n Medium solution Crtl+d Delete the line or all CTRL+alt+ Up and down keys Copy up and down Cr ...

  6. CTR Bayesian smoothing method in prediction and its code implementation

    1. Background introduction Advertising forms : There are three types of Internet advertising : 1) Display advertising (display ad) 2) Search advertising (sponsored search ad) 3) Contextual advertising (contextual ad)   ...

  7. Multimode string matching algorithm AC automata — Principle and implementation

    brief introduction : This article is about the blogger himself AC Some understandings and views on the principle of automata , Mainly by way of examples , At the same time with the corresponding pictures . The implementation part of the code is also explicitly annotated , Hope to give you a different feeling .AC Automata are mainly used to match multi pattern strings , Essentially ...

  8. see Orcale Does the table in the data change

    Because our company has one database and two applications in use , Cause an application to modify the database , Another application uses the cache and doesn't know whether there is an update or the original result . The original way is to use session The way to cache , Clear the cache when the user logs out , You just need to log in again ...

  9. 【BZOJ2875】【NOI2012】 Random number generator ( Matrix fast power )

    [BZOJ2875] Random number generator ( Matrix fast power ) Topic Description Dong Dong has been fascinated by random algorithms recently , And random number is the basis of generating random algorithm . Dong Dong is going to use the linear congruence method (Linear Congruential Me ...

  10. 1. Multi-table query =&gt; Turn it into a joint table 2. Visualization tools 3.pymysql modular

    Multi table data create table dep( id int primary key auto_increment, name varchar(16), work varchar(16) ); crea ...