sh VirtualBox的标准端口转发

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh VirtualBox的标准端口转发相关的知识,希望对你有一定的参考价值。

VBoxManage controlvm "default" natpf1 "mysql,tcp,127.0.0.1,3306,,3306"
VBoxManage controlvm "default" natpf1 "development server,tcp,127.0.0.1,3000,,3000"
VBoxManage controlvm "default" natpf1 "elasticsearch,tcp,127.0.0.1,9200,,9200"
VBoxManage controlvm "default" natpf1 "logstash-lumberjack,tcp,127.0.0.1,5000,,5000"
VBoxManage controlvm "default" natpf1 "kibana,tcp,127.0.0.1,5601,,5601"
VBoxManage controlvm "default" natpf1 "logstash-filebeat,tcp,127.0.0.1,5044,,5044"
VBoxManage controlvm "default" natpf1 "mongo,tcp,127.0.0.1,27017,,27017"
VBoxManage controlvm "default" natpf1 "redis,tcp,127.0.0.1,6379,,6379"
VBoxManage controlvm "default" natpf1 "statsd admin,tcp,127.0.0.1,8126,,8126"
VBoxManage controlvm "default" natpf1 "memsql,tcp,127.0.0.1,3307,,3307"
VBoxManage controlvm "default" natpf1 "memsql web,tcp,127.0.0.1,9000,,9000"
VBoxManage controlvm "default" natpf1 "statsd,tcp,127.0.0.1,8125,,8125"
VBoxManage controlvm "default" natpf1 "fluentd,tcp,127.0.0.1,24224,,24224"
VBoxManage controlvm "default" natpf1 "graphite,tcp,127.0.0.1,8000,,8000"
VBoxManage controlvm "default" natpf1 "webserver,tcp,127.0.0.1,8080,,8080"

以上是关于sh VirtualBox的标准端口转发的主要内容,如果未能解决你的问题,请参考以下文章

VirtualBox 端口转发 SSH

virtualbox端口转发

尝试托管服务器以进行外部访问 - Apache、VirtualBox 和端口转发

端口转发后执行putty连接------------------》VirtualBox+ubuntu_server

VirtualBox安装虚拟机网络问题

非标准 HTTPS 端口的 VirtualBox 端口重定向问题