Local virtual machine, ubuntu16.4, uses the following command to open the port
sudo iptables-I INPUT-p tcp-- dport 9000-j ACCEPT
then use netstat-an | grep 9000
check that the port is not open
Local virtual machine, ubuntu16.4, uses the following command to open the port
sudo iptables-I INPUT-p tcp-- dport 9000-j ACCEPT
then use netstat-an | grep 9000
check that the port is not open
the port allowed by iptables and whether a program occupies / listens on this port are two different things.
netstat can only show the port on which a program is using or listening
Previous: Dynamic configuration of Java section Pointcut
Next: Html5+js automatically downloads server files to the specified local path
curl https: packages.gitlab.com g. 2 > dev null | sudo apt-key add-& > dev null I don t know what this statement means. There are numbers > null & >-what all these stand for ...
curl -sL https: deb.nodesource.com setup_6.x | sudo -E bash - What does the command mean? what does the L in the parameter, setup_6.x in url, |, sudo-E bash-all mean. ...
Why is typesetting always messy when using SQLserver s sqlcmd to execute select on ubuntu? the following figure shows the effect after sp_help student has been executed. select * from sys.tables is the same ...
my graduation project is to do a system to climb the Douban website, and my classmate s graduation project is big data s topic. Our teacher Bishu asked me to use a crawler to store the data, and then make an interface to transmit the data to my classma...
-sharp! bin bash file_name2=`date +%Y%m%d%H%M%S` mkdir home sql_bak user_bak $file_name2 chmod 7777 home sql_bak user_bak $file_name2 -sharp-sharp-sharp-sharp arr_string=(users payrecord_fruitcoin yamirecord vipexam_record stream_order io...
linux wants to implement a scheduled task crontab to execute every ten seconds, but the minimum time for automatic execution is minutes. It is said on the Internet that the realization of seconds is foggy, how to achieve ...
I wrote a sh script on linux. When I used the command to execute the script, the execution was successful. A normal sql file is generated in the path I wrote. mysql account password is in the configuration file. script content: -sharp! bin bash mys...
when the flask application is deployed in ubuntu, the server gunicorn command starts normally, and Internal Server Error, occurs when starting in supervisor,systemd,upstart and other ways. ...
is it because the operation is wrong, or is it because Google stops supporting 32-bit chrome? my actions: download 32-bit deb file address: https: google-chrome.en.upto. sudo dpkg-I deb filename sudo apt-get install-f Open chrome afte...
after I wrote a website with the flask framework, I deployed it to the CVM. It has been deployed with gunicorn, but I can only access port 2000 set by the program. Now I want to jump to port 2000 by accessing the default port 80. I used nginx, but when ...
A problem encountered in learning whereis statements: I am a ubuntu system, and I have a VMwareTools-10.2.0-7259539.tar.gz in the home directory : whereis VMwareTools-10.2.0-7259539.tar.gz: locate: results can be found Why can t whereis find ou...
now you need to use Samba to get something, but haven t there been security problems before, so I d like to ask which version is the safe version now? My side is Ubuntu 16.04 LTS apt-get version 4.3.11 installed by default ...
running ll will cause errors confirm that zsh installation is successful and switch to zsh, ...
if you want to use ubuntu + postfix + laravel to do a mass email system. but if there are too many emails, it will be 504 if you send them for a while. This problem can be solved with set_time_limit (0) but feels too inefficient. is there any other wa...
I have deployed RabbitMQ, on the private network server. Now I want the APP of android to receive the push of queue messages. What can I do? ...
When I enter command as below iptables -t nat -A PREROUTING -i eth0 -s 10.0.0.0 8 -j DROP it always displays the "nat " table is not intended for filter,the use of DROP is therefore inhibited But I get this rule from various guides,is there any ...
Out of memory: Kill process 21529 (python) score 690 or sacrifice child Jul 14 19:26:07 localhost kernel: [190988.065479] Killed process 21529 (python) total-vm:6284112kB, anon-rss:5714444kB, file-rss:676kB Jul 14 21:00:02 localhost kernel: [196623.75953...
as shown in the figure, setting the value of a variable indicates that there is no permission and is a read-only file, but I am already a root user, how to solve the problem of asking for leave. ...
Filesystem Size Used Avail Use% Mounted on dev xvda1 20G 4.2G 15G 23% none 4.0K 0 4.0K 0% sys fs cgroup udev 481M 12K 481M 1% dev tmpfs 100M 356K 99M 1% run none 5.0M 0...
it is slow to install the software I changed the source of apt to Tsinghua, but software center is still very slow. I feel that the download is very slow. I don t know what good way to do it. ...