I have just received static IP address from my ISP and I am trying to setup small experimental server on my home laptop which has Ubuntu installed.
I have setup Ubuntu to use internal static IP address 192.168.1.11
.
I have forwarded the port number from my router to redirect all requests on port 80
to 192.168.1.11
.
Below is my router (D-Link DSL-2750U) configuration:
I have started the small java webserver on port K on my Ubuntu box. But I am not able to access webserver from external network using my static IP which is provided by my ISP as 117.218.XXX.XXX
and not 192.168.1.11
. Am I missing anything?
UPDATE: As per suggestion from Giacomo1968 I have updated the remote ip address of router to public IP address of 117.218.XXX.XXX
.
After making above configuration I could actually visit my server from browser. But browser was opening router configuration page instead of redirecting the request to Ubuntu box. So now I changed the default port of User Access Control for D link router.
Now the request is getting timed out. Below is the output of curl
curl http://117.218.XXX.XXX
curl: (7) couldn't connect to host
So I tried disabling the firewall on Ubuntu box using "sudo ufw disable"
But issue persist.
I am not sure configuration changes required on Dlink , Below is the config page of Dlink firewall
Can someone please help me with it.