当前位置:首页 > 云服务器 > 正文

阿里云服务器设置外网访问(阿里云服务器设置公网ip)

After using Alibaba Cloud Server Windowsserver2008r2 to build a web intranet, you can access the website. How to set up the external network to also access the website?
Just bind the public IP, and then ensure that port 80 is external in the security group. Once set, you can use the public IP to access the website. If you have a domain name, just bind the server's public IP

How to access the Alibaba Cloud server? How to access the external network?

How to log in to the Alibaba Cloud server?

Method 1: Go to Alibaba Cloud Console-ECS Management-Remotely log in through the web page

Method 2: Log in through the remote desktop.

The website is ready, but it can only be accessed locally? How to put it on the server? Already have an Alibaba Cloud server?

Since it can run normally locally, it means that your website is ready. If you are using Alibaba Cloud, then set up the website running environment in the Alibaba Cloud server, such as asp, php, .net, etc. After configuring the website environment, just upload the program, then buy a domain name, resolve it to the server, and then you can access it normally. Domestic servers need to be registered

How to remotely connect to the Alibaba Cloud host server ?

If you use the WIN system: Click Start-Run on the local computer, enter mstsc and press OK. Enter the IP user and password of the cloud host as prompted, and click Login. You can connect remotely. If you use LINUX system: It is recommended to download a PUTTY remote connection tool and run it. Enter the IP as prompted to connect, and then enter the user and password in order to connect remotely. Not only Alibaba Cloud, but all cloud hosts use this connection method. If there is If you need help with cloud hosting issues, you can contact me.

How to connect to Alibaba Cloud windows server remotely?

click OK, and the remote connection interface will appear-->click on the options to see many columns, fill in the computer name and user name-->enter the user name and password That’s it. The username is entered in the third step! The server is similar to the local computer

After setting up FTP on the Alibaba Cloud server, the external network cannot be accessed?
1. Solution:
The default mode of ftp is passive mode, opening a random port to establish a connection. You need to open the internal network port restriction.
If it is through a hardware firewall, just open the ftp random port in the firewall
2. The working principles of the two methods:
Active mode :
Port mode FTP client first establishes a connection with the TCP
21 port of the FTP server, and sends commands through this channel. When the client needs to receive data, it sends a PORT command on this channel.
The PORT command contains the port used by the client to receive data. When transmitting data, the server connects to the client's designated port through its own TCP20 port to send data. The FTP
server must establish a new connection with the client to transfer data. (You can see that in this way, the client and the server establish a control connection, and the server establishes a data connection to the client. Among them, the port numbers of the client's control connection and data connection are two port numbers greater than 1024 (temporary ports) , while the data port of the FTP server is 20 and the control port is 21)
Passive mode:
Passive mode is similar to Standard mode when establishing a control channel, but after establishing a connection, it does not send a Port command, but is the Pasv command. After receiving the Pasv command, the FTP server randomly opens a temporary port (also called a free port, the port number is greater than 1023 and less than 65535) and notifies the client of a request to transmit data on this port. The client connects to this port of the FTP server, and then the FTP server Data will be transmitted through this port. At this time, the FTP
server no longer needs to establish a new connection with the client. (It can be seen that the connections in this case are all initiated by the client to the server, which is different from the following "In order to solve the problem of server-initiated connections to clients, people have developed a different FTP connection method. This is Corresponding to the so-called "passive mode", the data port on the server side is a temporary port, not the regular 20)
Many firewalls are not allowed to accept externally initiated connections when they are set up, so many located behind the firewall or The FTP server on the intranet does not support PASV mode because the client cannot pass through the firewall to open the high-end port of the FTP server; and many clients on the intranet cannot log in to the FTP server using PORT mode because the TCP
20 from the server cannot Establishing a new connection with the client on the internal network prevents it from working.
Active mode requires the client and server to open and listen on a port at the same time to establish a connection. In this case, the client will have some problems due to the firewall installed. Therefore, the passive mode was created. Passive mode only requires the server to generate a process that listens to the corresponding port, so that it can bypass the problem of a firewall installed on the client.
In passive mode FTP, both the command connection and the data connection are initiated by the client, which can solve the problem of the inbound connection from the server to the client's data port being filtered by the firewall.