Peanut Shell Intranet Edition How to modify the external network access address port??

Source: Internet
Author: User
Tags vps

Such as:

Domain name is registered peanut shell free of charge domain name, because it is in the intranet, so the use of intranet version, set up the intranet host, port mapping, save, will automatically generate an external network access address.

I want to have no port or port to 80 of the external network access address, how to set?? Do you need to buy?? (originally wanted on the test used, the results only support 80 port or 443 port, do not know how to do!!) )

Pray for the great God to ask for doubts??

Reply content:

Such as:

Domain name is registered peanut shell free of charge domain name, because it is in the intranet, so the use of intranet version, set up the intranet host, port mapping, save, will automatically generate an external network access address.

I want to have no port or port to 80 of the external network access address, how to set?? Do you need to buy?? (originally wanted on the test used, the results only support 80 port or 443 port, do not know how to do!!) )

Pray for the great God to ask for doubts??

Peanut Shell I used a few times, very difficult to use, I gave up.
Feel this intranet version should be a port mapping function, traffic first flow to the Peanut shell server, and then sent to this client by peanut shell, and then forwarded to your intranet server by this client. If this is the principle, then port 80 should be out of the way.

What you need is a standard version or router setup (that is, many routers are supported on the router, but the effects are uneven). In this way, you can map your public IP address to the peanut shell domain name, the traffic will be directly to your extranet entrance.

However, it is not recommended that you use home broadband to map port 80.
1, the state and the operator, the individual broadband users are not allowed to open 80, 443, 8080 and other commonly used ports. Like Beijing Unicom is an explicit, and sometimes can be accessed, but once it is scanned, it will be blocked port. There is no obvious limit to high-level ports, but traffic is abnormal or will be checked.
2, for the two-tier operators, the TCP port seems to be unable to listen, or there is no real IP (Koike set of large pool).

Better advice, or buy a cheap version of the VPS to do the development or test it, so that the real and fixed IP will have. You can also buy a domain name. If you do not want to buy a domain name, you can also write static IP directly to the dynamic domain name 233.

Home broadband + Dynamic Domain name is not suitable for dedicated scene development (such as mandatory 80 port), only suitable for personal private use.

20160713 Supplement:

VPS is not a virtual host, these two concepts to distinguish good. VPS is a ' virtual machine ', not a ' virtual host '.
A virtual host is an HTTP-based service that can only run Web services and has a lot of restrictions, and cannot arbitrarily change ports and add certificates. The general price of providing virtual hosting services on the network is also not cheap, annual pay, not suitable as a development environment, only suitable as a production environment
Virtual machine is a kind of virtualization-based services, the external view is a separate server, you can install operating system (depending on the virtual architecture may have operating system limitations, generally Linux is the most common, cheap, good performance, do not waste resources).

The daily visit of the site such as weibo.com is actually http://weibo.com, for the HTTP protocol, his port default is 80, if you want to change the port (for example, 8080), then a similar way to access: http://yourdomain.com:8080. There is also HTTPS, such as Https://segmentfault.com, whose default port is 443, is the HTTP that is transmitted based on a security protocol.
VPS will give you a real and fixed IP (assuming that 1.2.3.4), then when you installed on the VPS, such as Apache or Nginx can provide HTTP services and correctly run the software, then http://1.2.3.4 can access your Web site Web services.

If you want to see these things, it is advisable to find some relevant information to read. VPS is a virtual machine that you can install locally on a virtuallbox (open source free) or VMware Department (most commercial products pay, but there are many good free products) as a development and test environment.

Developed test account can not use the non-80 port this thing I do not know, did not try, I guess the developer test number should be able to use non-80 port. You can try it first.

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.