If you are encountering the following error message while attempting to raise a ticket with the service desk:
“Unable to connect to http://BPAPSDPWMV01:8080/CAisd/UploadServlet. Please make sure that the servlet server is correct, and that Tomcat is up and running. Would you like to try?”
It indicates an issue with the connection to the Tomcat server. A common solution to this issue is to modify the hosts file on your machine. Follow the steps below to resolve the error:
Steps to Fix the Issue:
Locate the hosts file
Navigate to the following directory on your system:
C:\Windows\System32\Drivers\etc\hosts
Edit the hosts file
Open the hosts file with a text editor (such as Notepad) with administrative privileges. To do this:
Right-click on Notepad and select “Run as Administrator.”
In Notepad, go to File > Open and navigate to C:\Windows\System32\Drivers\etc\hosts. Make sure to select “All Files” from the file type dropdown to view the hosts file.
Add the required entries
Add the following lines to the file:
172.19.64.32 bpapsdpwmv01.indiapost.gov.in
172.19.64.32 bpapsdpwmv01
172.19.64.32 servicedesk.indiapost.gov.in
172.19.64.33 servicedesk.indiapost.gov.in
172.19.64.33 bpapsdswmv01.indiapost.gov.in
172.19.64.33 bpapsdswmv01
172.19.64.34 bpapsdswmv02.indiapost.gov.in
172.19.64.34 servicedesk.indiapost.gov.in
172.19.64.34 bpapsdswmv02
172.19.64.158 bpapsdswmv03.indiapost.gov.in
172.19.64.158 servicedesk.indiapost.gov.in
172.19.64.158 bpapsdswmv03
Save the file
After adding the necessary lines, save the file and close the text editor.
Verify Tomcat Server
Ensure that the Tomcat server is up and running on the system where the servlet is hosted.
This should resolve the connection error by ensuring that the necessary server names are mapped to the correct IP addresses. After updating the hosts file and ensuring the Tomcat server is running, the issue should be fixed.