mhulse / vagrant-latmp

Vagrant LA(T)MP Stack: CentOS 7 + Apache HTTP + Apache Tomcat + MySQL + PHP + Python + Ruby + Node.js
Apache License 2.0
3 stars 3 forks source link

If add port forwarding, document that Firewall needs hole punched #100

Closed mhulse closed 6 years ago

mhulse commented 6 years ago

I added this:

  # Spring Framework:
  config.vm.network(
    'forwarded_port',
    forwarded_port_defaults.merge!({
      guest: 8080,
      host: 81,
    })
  )

And I forgot to do this:

firewall-cmd --permanent --zone=public --add-port=8080/tcp

Leave note on this in docs.

OR, maybe let's just disable the firewall for development’s sake?

mhulse commented 6 years ago

Disabling but leaving bootstrap shell script there as an example.