Most of our products support the UDP protocol. In order to test UDP communication with one of our product in the local server, we will need to play with port forwarding settings in our router. We can use the UDP protocol over both local and remote server. Local server refers to your own machine while the remote server is another machine/computer.
The steps are as follows:
- Login to you routers configurations, by going to 192.168.1.1(generally this is the address for router configurations, might change for some router) from your Internet browser and login with your own credentials.
- Now scroll down at Basic Status page to find your IP address of your connection (which is mentioned as dsl_internet in our case). We will need it later.
- Now click on Forwarding form the option list and then click Virtual Server.
- Then click on Add New, which will take you to the following screen. Now fill up Service Port(as desired, in our case it is 5000), IP Address(It is IP Address of your Computer/Laptop. Check the note below if you don’t know how to obtain your IP Address) and select Protocol(as UDP or TCP according to your requirement). Click Save.
Note: Open your terminal and run ifconfig command to obtain your IP Address. This is applicable for linux users. Windows user can type ipconfig in cmd command.
For suggestions and questions, please use the comment section below.