How to disable port forwarding on Oracle Virtual Box

Dear Community Users,

I have installed Oracle Virtual box in my windows Laptop and created a Cent os VM. Followed the DevOps Pre-Requisite Course | KodeKloud and setup NAT port fowarding, It was working as expected. Then I have deleted the port forwarding confg for the VM and I dont have any vm in my virtual box

Issues facing: Now I am exploring vagrant, and created a cent os vm with vagrant, I still se port forwarding was coming up(hotst:2222 to guest:22). I have tried multiple ways to delete the port forwarding, still whenever new VM is spinning up, port forward is by default coming up…

Now i am unable to do vagrant ssh

PS vagrant> vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Importing base box ‘centos/7’…
==> default: Matching MAC address for NAT networking…
==> default: Checking if box ‘centos/7’ version ‘2004.01’ is up to date…
==> default: Setting the name of the VM: Satz VM New
==> default: Clearing any previously set network interfaces…
==> default: Preparing network interfaces based on configuration…
default: Adapter 1: nat
==> default: Forwarding ports…
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running ‘pre-boot’ VM customizations…
==> default: Booting VM…
==> default: Waiting for machine to boot. This may take a few minutes…
default: SSH address: 127.0.0.1:2222

Vagrant will forward the SSH port when using Host or NAT adapters. Why is it causing you a problem?