Today, let's take a look at the ports of TCP and UDP packets. It has always been known that the port is used to distinguish different services of servers with the same IP address, and the port size is already known. When searching for traceroute information, I learned something that I didn't notice before.
(1) Preparations: Port Introduction
This part should be
when configuring Hadoop location under Eclipse, the Hadoop port number should be consistent with the core-site.xml and mapred-Site.xml under the Conf folder, which corresponds to DFS master. The latter corresponds to map-Red Master// This is mapred-site.xml mapred.job.tracker http: // master.hadoop:9001 ? // this is Core-site.xml . fs. default . Name HDFs://master.hadoop:9000 For hadoop2.x, you only need to configure the
Tags: view error command exe Note CLI add alt Bubuko1. First log in to the specified database with Plsql.2. Open the paper icon in the upper left corner and select "Command Window".3. Enter the following two lines of command:setserveroutputonexecdbms_output.put_line(utl_inaddr.get_host_address);The result of the display is the IP address of the database.Note the point:If you have a port number behind the Eclipse p
A plugin was used in a recent project where the connection database was configured with JDBC and the port number was used to enter the URL. The impression in the use of SQL Server does not seem to mention the port number, on the Internet to read a bit, record the province's forgottenmethod is through the built-in a stored procedure to query, very convenient EXEC Sys.sp_readerrorlog 0, 1, ' Listening ' To
A very important field in the packet format of the network layer---packet is called the protocol number. For example, if the transport layer is a TCP connection, then the protocol number in the network layer IP packet will have a value of 6, if it is UDP, then that value is the --- transport layer. the Transport layer --- ---The application layer through the Interface Association (the field of the port is called the
Java to obtain the available UDP port number. The TCP method is similar to this one.
Method 1: If you do not mind obtaining the port number range, you can use the assumramsocket constructor to define 0 as its port number. The system will assign it an idle Port Number:
public static DatagramSocket getRandomPort() throw
[email protected]
Note that the above command port number (here is the) can not leave a space before and after. under Linux, theErlang boot method is as follows:
erl_epmd_port=5000 erl-name [email protected]
EPMD Related Issuesrestrict the nodes of the specified IP to join the cluster
Epmd-port 5000-address 127.0.0.1-daemon
this way, if the
MSN/QQ share this resource to: msn qq friends Forum share this resource to: Forum friends (UBB Code) Happy Renren Douban Sina Weibo BKJIA Weibo bloggers more articles>Brief introduction how to detect VLAN switches and their port numbers 15:58:01Label: Switch detection full-duplex Ethernet ThroughputWe use the Cisco Catalyst 5500 switch. The 168 ports of the switch are allocated to a virtual LAN. I configure
"Done ." - in Print "Connect to remote host%d ..."%Port - to #catch Exception: The server may not have the corresponding service turned on, or the network problem causes the connection failure to occur unexpectedly + Try: - #connecting to the service side theS.connect (("www.baidu.com", port)) * exceptSocket.error as E: $ #ExceptionPanax Notoginseng Print "Strange Error creating socket:%s"%e
ftp:21 telnet:23 smtp:25 dns:53 tftp:69 http:80
The numbers themselves are bland, but as the most commonly used protocols, it is important to know their port numbers, which can be assisted by a digital coding system.
21: Crocodile23: Monk25: Erhu53: Wushamao69: Cooking Wine80: Paris Tower
FTP (File Transfer Protocol, using TCP): Upload a crocodile (21) via FTP
Web sites Chrome,firfox The following ports are inaccessible, so you should avoid the following ports when configuring your own sites:Tcpmux 7,//Echo 9,//Discard,//systat,//daytime,//netstat,//QOTD,//ch Argen,//FTP data,//FTP access,//SSH,//Telnet,//SMTP PNS,//time,//Name ,//Nicname,//Domain PRIV-RJS,//,//finger,//Ttylink,//Supdup 101,//HO Striame 102,//ISO-TSAP 103,//GPPITNP 104,//Acr-nema 109,//POP2,//POP3 111,//SUNRPC 113, Auth,//SFTP 117,//Uucp-path 119,//NNTP 123,//NTP 135,//Loc-srv/epma
Office Protocol (e-mail), the default port number is 110/TCPWebshpere application, default port number is 9080Webshpere management tool, default port number 9090JBOSS, default port number is 8080TOMCAT, the default port number is 8080WIN2003 Telnet, the default
1. Set the RTSP port number
The RTSP port number is set in the artspconnection. cpp file. First, obtain the port number from the URL. If the port number cannot be read, set it to the default port 554. Code processing is as follows:
Artspconnection: parseurl (const char * col
protocol, it is only responsible for sending the data to the end, delivered to the upper level. Transport layer TCP, UDP plus the port number, the purpose is to distinguish between different applications. TCP also realizes the flow control, reliable transmission, and so on, and UDP just should not be the IP layer of data processing.In the past, I know that an application can use only one port number, and i
One. under Tomcat, configure a single app service to configure multiple port numbers . That is, one service configures multiple ports, and projects can be accessed through multiple ports.Modify the Server.xml under Tomcat-home\conf, configure multiple Connectorconnectiontimeout= "20000"port= "8080"Protocol= "http/1.1" redirectport= "8443"/> Connector
Provides various official and user-released code examples. For code reference, you are welcome to exchange and learn. Currently, when our domain name needs to be accessed with a port number, the sub-domain name deployment will not pass the port number.
At present, when we need to carry a port number to access our domain name, the sub-domain name deployment will
Article Title: Start and disable services and corresponding port numbers in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
/Etc/services view the system preset service and port. the scripts started and closed for each
Open cmd Command window;
Enter NETSTAT-NAO|FINDSTR "Port number";
Look at the port number in the local address and remember the PID of the process:650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/87/5B/wKioL1feTzmDZdxRAAAnlI-Wh_s246.png-wh_500x0-wm_3 -wmp_4-s_294394893.png "title=" 57c9245d1154e53d52000000.png "alt=" Wkiol1fetzmdzdxraaanli-wh_s246.png-wh_50 "/>
Enter Taskmgr in the run
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.