Avatar of ChuyenGia
ChuyenGia

asked on 

Config webserver

Hi all,

I have static IP, and I'm using Microsens modem. I want to config my webserver on my PC so that I config NAT to access to WebServer PC. But when I connect to static IP from the internet, the router page will be shown? How can I fix this problem?

Thanks a lot.
Web Servers

Avatar of undefined
Last Comment
ChuyenGia
ASKER CERTIFIED SOLUTION
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

Or if there is a way to disable external managment of your modem that would work also.
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

Verify the IP address you are using for NAT is the ip address of the PC and not the default gateway.
Avatar of PimOnline
PimOnline

If u like more detailed information please provide the modem model.

When u want to run a webservice there are a few things u need to setup.
1. A webserver with a internal (non routeable static IP)
2. Your router and firewall to allow access to port 80 (so NAT from port 80 to the local static ip port 80)

I think the first step your u works correct. U can check this by opening the local ip from a other local box.

Now part two the router/Modem. This modem should NAT port 80. If a other service is running on port 80 of the remote IP it is not possible to run your website on it. A sollution for this would be to deny remote modem administration. This would make it possible to use port 80 for your website.

Off course your webserver should be able to connect to the internet else connecting from the internet to the server would also be impossible.
Avatar of ChuyenGia
ChuyenGia

ASKER

First, I use port 80 but it is not work so that I add port 8080 and it is not work too.
My configuration like image below. User generated image
Avatar of PimOnline
PimOnline

If u do on a other local machine in the webbrowser http://192.168.1.8:8080 u will see a page?

Note that localy testing (your remote ip) does not always work. So please check on a other internet connection or let a friend test it.
Avatar of ChuyenGia
ChuyenGia

ASKER

I can connect to http://192.168.1.8:8080 from local pc or other pc in LAN. But my friend in other network can't connect to http://myStaticIp (router page will be shown here)
Avatar of PimOnline
PimOnline

are u sure ur are using the right remote IP. Check http://www.whatsmyip.org/. The other user has to use the IP shown on the page (note the IP can change depending on your provider). If ur ip is changing u can use a service like http://www.dyndns.com/
Avatar of PimOnline
PimOnline

also try http://myStaticIp:8080
If ur routerpage is shown on your remote IP u have remote administration access (or similar) enabled. Please check the security tab.
Avatar of ChuyenGia
ChuyenGia

ASKER

It's work when i changed Server IP to my lan pc IP and removed remote host.
Thanks a lot.
Web Servers
Web Servers

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo