how to telnet Centos linux from Macos with specfic port ?

Discussion in 'Linux Virtual Machine' started by WUY1, Dec 2, 2017.

Tags:
  1. WUY1

    WUY1 Bit poster

    Messages:
    1
    I installed a Centos VM in Parallels Desktop and also installed apache web server in 8080 port.
    Then I changed network setting to bridge mode.
    1. I try to ping the VM IP -> success
    2. I disabled selinux and reboot VM
    3. firewall-cmd --permanent --add-port=8080/tcp - > firewall-cmd --reload
    4. finally I try to telnet VMIP 8080 -> connect refused

    May someone can correct me which step is wrong or missed something?
    thanks.
     

Share This Page