Yesterday, a program needs to export 500 data, the result found that 150 is, Nginx reported 504 Gateway timeout error
After observation, it was found that about 30 seconds timed out, the execution time in php.ini is 300 seconds:
Copy Code code as follows:
Max_execution_time = 300
Check the related configuration of nginx, no fruit.
wrote a test page of PHP to be tested again:
Copy Code code as follows:
Echo ' AA
Today to tell you how to use the port mapping, not through the Gateway Open intranet method.
First, the use of the premise
Need to have a public network of IP. If we now have a public network of P, 210.210.21.21
Second, the use of tools
1.lcx.exe
2.vdic
Three, method explanation
Method one, using Lcx.exe to map
(1) We will upload the Lcx.exe to the public network IP, in the public IP on the DOS environment in the implementation of Lcx–listen P
1. Network topology:
Requirements: Intranet All to the public network DNS traffic, are forwarded to the intranet of a DNS server.
SOURCE Demand post: http://bbs.51cto.com/thread-939762-1.html
----Linux testing, this is also a kind of DNS spoofing technology
2. Configuration steps:
A.linux Gateway Configuration:
① Turn on routing forwarding function:
echo "1" >/proc/sys/net/ipv4/ip_forward
② Configuration Pat:
Iptables-t nat-a postrouting-o
This article brings you to the content of the use of spring Cloud Netflix Zuul Proxy gateway access to the backend Rest service Implementation (code), there is a certain reference value, the need for friends can refer to, I hope to help you.
1. Overview
In this article, we'll explore how to communicate between front-end applications and back-end REST API services that are deployed separately from each other. The goal is to address browser cross-domai
Ifconfig Check the configuration, no problem, is OK,Check the firewall, it's closed, damndest, what's the problem?All kinds of attempts, finally, the IP into automatic acquisition can be ping through, but why not manually set it?Finally read this friend's article http://my.oschina.net/kevinvane/blog/354314Just woke me up, I also installed a VirtualBox, the original is a virtual network card conflict, the VirtualBox deleted, OKPs:virtualbox I feel not very stable ah (sometimes abnormal shutdown a
There are too many ARP spoofing viruses .. So I wrote this .. Instructions in advance. I also read other people's tutorials. But I modified it myself. This is simple.
Remember to read it. I have limited expression ability. If you cannot understand it, don't blame me...
The gateway is used to replace 192.168.0.1 with your own gateway.
Now run-CMD-route print.==================================================
This morning, a colleague's computer was unable to access the Internet, Windows 7 operating system, the lower right corner of the small computer display exclamation mark 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/4C/35/ Wkiom1q45xlqg6u_aaaqfytrplw506.jpg "title=" 3.png "alt=" Wkiom1q45xlqg6u_aaaqfytrplw506.jpg "/>.First: Unable to ping the default gateway, I checked the basic network settings, there is no problem. You can troubleshoot
The basic Border Gateway Protocol (BGP) routing selection protocol is divided into two types: l Internal Gateway Protocol (IGP) l external Gateway Protocol (EGP) BGP is an Inter-Domain Routing Protocol, also known as EGP autonomous system, the same internal gateway protocol and unified measurement value are used to for
The School campus network connection has free connection and the charge connection two types, can imagine the fee connection browsing experience is better, for example may visit more website. Before the billing address can only open a monthly service to use, and then incredibly have 60 hours per month free use of the discount address. However, once the billing address is connected and forget to disconnect in a timely manner, 60 hours will be exhausted soon. In order to save the usage time of the
1. Install the transparentgateway transparent gateway of oracle. Select custom installation for ORACLE Installation, then install transparent gateway, and then select to install the FORSQLSERVER component. 2, modify oraclehomeora92tgsmsqladmininittg4msql. orq file HS_FDS_CONNECT_INFOSERVERYIRONG-NO1; DATABAS
1. Install the transparent gateway of oracle. Select cu
This article is the second article in the Python Web site building series. Next, I will introduce the relevant information about the Web Server Gateway Interface WSGI, which is very detailed, if you have any need, you can refer to the second article in the Python Web site building series. the following article describes the relevant information of the Web Server Gateway Interface WSGI, which is very detaile
Do site students often find some Nginx server access when prompted 504 Gateway time-out error, generally by the Nginx default fastcgi process response slow, but there are other situations, here I summed up some solutions for your reference.Method/Step
Situation one: Due to nginx default fastcgi process response buffer too small causedThis situation causes the FASTCGI process to be suspended, and if the FASTCGI service is not well-handled, it may p
1. Add the following content to the/etc/rc. Local file:Note: eth0 binds the Intranet IP address eth1 and the Internet IP Address################[Root @ rhnat01 root] # vi/etc/rc. Local#! /Bin/sh## This script will be executed * after * all the other init scripts.# You can put your own initialization stuff in here if you don't# Want to do the full sys V style init stuff.Touch/var/lock/subsys/localRoute add-net 0.0.0.0 GW Internet gateway netmask 0.0.0.
Today, my VPs frequently prompts that the nginx 502 Bad Gateway is incorrect. After the VPs is restarted, it becomes annoying. I cannot figure it out. There was no problem when my website reached 1290 of the traffic in the previous two days. Why did 502 Bad Gateway appear this time? Depressed !!! After searching for a long time, I finally found a lot of relevant answers and hoped that this error would not o
1. view the current Gateway
Arp-
Run the preceding commands in SSH to check the gateway host name, gateway IP address, Gateway MAC address, and corresponding Nic, as shown in figure
2. Bind a gateway MAC
1) Bind
Echo "198.52.103.193 00: D0: 2B: D1: 58: 80">/etc/sa
Linux basic network configuration
1.View Network Interface Information
Ifconfig view Network Interface Information (/sbin/ifconfig)
Ifconfig [network interface]
Ifconfig-A: View information of all network interfaces in the system
2.View gateway address and route information
Route view host route information (/sbin/route)
Route | grep defaultDisplay the default gateway address
Ping the target host address t
This article is reproduced, describes how Ubuntu set up IP and network to connect to the networkIf you are using Ubuntu in a virtual machine, please refer to my previous article virtual machine net to set up the Network Settings section of the extranet, first set up the host network, and then configure the virtual machine Ubuntu IP and gatewayIf the host operating system is Ubuntu, please directly refer to the following settingsThe contents are reproduced as follows:1. Check if connectivity is p
1. Check if connectivity is possible, ping the gateway using the ping commandThe beginning is always real unreachable2. Set IPsudo ifconfig eth0 133.133.133.190 netmask 255.255.255.0This sets the IP address and subnet mask of the NIC Eth03. Set the gateway sudo route add default GW 133.133.133.404. Ping the gateway to ping through5. Set the DNS modification/etc/r
postrouting chain, and the output chain, where the preposting chain is primarily used to modify the destination IP address, which is used to configure Dnat, and the postrouting chain can be used primarily to modify the source IP address. Used to configure Snat.Let's look at how the Nat gateway is configured :In the initial state, we use the wireless network card on the NAT host (laptop) as the extranet exit, the initial IP is obtained by DHCP, is 192
Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network card)
The code is as follows:
#ifconfig eth0 192.168.1.5 netmask 255.255.255.0
3. Modify the default gateway (Eth0 is the name of the ne
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.