How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Kamil Anwar Your Own Question

Kamil Anwar
Kamil Anwar, Computer Support Specialist
Category: Computer
Satisfied Customers: 148
Experience:  8+ Years of Experience. / CCNA (S), CCNA (W), CCNA (RS), MCTS, MBCs.
69350257
Type Your Computer Question Here...
Kamil Anwar is online now

I am a TalkTalk subscriber and am trying to set up a web server

Customer Question

I am a TalkTalk subscriber and am trying to set up a web server on Port 80. When I try to forward to this port using Advanced / Port Forwarding, I get

ERROR: FAIL TO UPDATE DUE TO... DUPLICATE PORT NUMBER !

I will guess this is because the router grabs Port 80 for itself...?

BTW I use a redirect service (no-ip.com) to map a fixed URL to my dynamic-IP machine.

--- Dan
Submitted: 3 years ago.
Category: Computer
Expert:  Kamil Anwar replied 3 years ago.

Kamil Anwar :

Hello & Welcome to JustAnswer. My name is Kamil Anwar and i will do my best to assist you.

Kamil Anwar :

Can you tell me what your IP Address is?

Kamil Anwar :

You are right it could be that you have already forwarded 80 or it is being used by the router itself.

JACUSTOMER-wlha6krn- :

92.21.197.211

Kamil Anwar :

It is already forwarded to the system with the webserver hosted.

JACUSTOMER-wlha6krn- :

What page are you seeing?

JACUSTOMER-wlha6krn- :

I don't think it is forwarded.

Kamil Anwar :

Forbidden


You don't have permission to access /UI on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Kamil Anwar :

Which webserver did you download?

Kamil Anwar :

Can you send me a screen shot for the port forwarding page of the router?

Kamil Anwar :

Also what is the host name at no-ip?

JACUSTOMER-wlha6krn- :

It is Tomcat. There is no password protection. It would appear to be forwarding to the router control panel, not the web server.

Kamil Anwar :

If that was the case, then i should have seen the router's page or a pop up requesting username and password to login.

JACUSTOMER-wlha6krn- :

You should be able to go to http://92.21.197.211/home and see the same page as www.danholle.com/home

Kamil Anwar :

Can you send me httpd.conf ?

Kamil Anwar :

Non-authoritative answer:
Name: danholle.com
Address: 188.121.55.128

Kamil Anwar :

danholle.com is pointing to a different IP - I see what you mean.

Kamil Anwar :

Can you send me httpd.conf please?

JACUSTOMER-wlha6krn- :

danholle.com is a completely different web server. I just happen to have the same config on this machine but cannot see it externally

Kamil Anwar :

This is a configuration issue.

Kamil Anwar :

It is not configured properly.

Kamil Anwar :

Can you tell me how did you set it up? As much details as possible.

JACUSTOMER-wlha6krn- :

I used to have this running on this machine with a DSL2640R router. After a firmware change it stopped working. I contacted my provider and they said the DSL2640R was not supported. (I found others on the TalkTalk forum with similar problems with port forwarding.) Now I have the new DSL3680 and it works fine for normal usage but does not let me specify port forwarding at all for Port 80.

Kamil Anwar :

Can you send me a screenshot of the port forwarding page

Kamil Anwar :

and the local IP for the computer where you have tomcat installed?

JACUSTOMER-wlha6krn- :

Are you still there?

Kamil Anwar :

I am still here

Kamil Anwar :

Can you send me a screenshot of the port forwarding page

Kamil Anwar :

and the local IP for the computer where you have tomcat installed?

Kamil Anwar :

Are you still there?

JACUSTOMER-wlha6krn- :

hello

Kamil Anwar :

Please scroll down to view my messages.

JACUSTOMER-wlha6krn- :

I tried something with remote management to try to turn it off -- it turned off local management too so I've reset the router back to factory settings and am back now.

JACUSTOMER-wlha6krn- :

Remind me how to send you a screen shot. Windows vista. Some key combination to save screen to a file... can I then paste it here?

Kamil Anwar :

Press the Alt key and the Prnt Scrn key on the keyboard.

Kamil Anwar :

Then go to paint and press Ctrl + V

Kamil Anwar :

Save the image.

Kamil Anwar :

Use the attachment sign in this window to attach the saved image.

JACUSTOMER-wlha6krn- :

Full Size Image

JACUSTOMER-wlha6krn- :

I am running out of time. It does not look like there is a quick answer here.

Kamil Anwar :

I am sorry but there is no quick answer since your configuration is custom and to resolve the issue completely we will need to diagnose it, fix it and test it.

Kamil Anwar :

Can you delete this port forwarding temporarily so i can be sure where the router is forwarding to?

Kamil Anwar :

Also, when you type 192.168.1.20 on your computer, which page do you see?

JACUSTOMER-wlha6krn- :

192.168.1.20/home = same as danholle.com/home

Kamil Anwar :

Port is forwarded correctly.

Kamil Anwar :

The settings in the httpd.conf file needs to be changed / checked.

JACUSTOMER-wlha6krn- :

My IP is now 92.21.234.85 (since I reset the modem)

Kamil Anwar :

This means, the webserver is redirecting to /UI folder

Kamil Anwar :

When i access through the IP Directly

JACUSTOMER-wlha6krn- :

It appears to be routing to the router control panel, not forwarding the port.

Kamil Anwar :

If that was the case, then you should not be able to access the webpage locally when you type 192.168.1.20

JACUSTOMER-wlha6krn- :

When I go to http://92.21.234.85/home or http://192.168.1.1/home I get the same error message

JACUSTOMER-wlha6krn- :

192.168.1.1 is the local IP of the router.

JACUSTOMER-wlha6krn- :

192.168.1.20 is the local IP of my PC.

Kamil Anwar :

What happens when you go to 192.168.1.20 ?

JACUSTOMER-wlha6krn- :

192.168.1.20/home --> serves up the right content.

Kamil Anwar :

That means the port is forwarded correctly. This is not a port forwarding issue.

Kamil Anwar :

This is a configuration issue on the web server.

Kamil Anwar :

Can you find this file httpd.conf ?

JACUSTOMER-wlha6krn- :

I am running Tomcat, not Apache Web Server

Kamil Anwar :

Can you go to C:\Program Files

Kamil Anwar :

and tell me the name of the web server directory?

JACUSTOMER-wlha6krn- :

c:\program files\apache software foundation\Tomcat 6.0\

JACUSTOMER-wlha6krn- :

There, one finds the bin, conf, lib, logs, temp, webapps, and work subdirectories

JACUSTOMER-wlha6krn- :

What sort of thing are you looking for?

Kamil Anwar :

the configuration file, should be server.xml and web.xml

JACUSTOMER-wlha6krn- :

I still believe we are not getting to the web server at all. Remember that there are multiple PC's on this network and there is nothing to tell the router to talk to this one.

Kamil Anwar :

192.168.1.20 - Isn't that the ip of the computer running the webserver?

JACUSTOMER-wlha6krn- :

Okay, I am out of time. I am flying tomorrow and I have many hours of work to do before I go.

Kamil Anwar :

We can continue on this when you are back that is not a problem.

JACUSTOMER-wlha6krn- :

Yes it is! But it won't let me forward port 80 to that IP!

JACUSTOMER-wlha6krn- :

So in the router there is nothing which points to 192.168.1.20 in any way right now

JACUSTOMER-wlha6krn- :

How do we suspend this conversation and resume later?

Kamil Anwar :

I don't see that as an issue because you can change the port in the configuration file which is what i am looking for

Kamil Anwar :

and let tomcat listen on a different port to rule this cause out and fix the issue with resolving names first., then look at the router side to disable 80 for router and enable for the server.

Kamil Anwar :

You can leave it as it is and when you come back just login to JustAnswer.com and Click on My Questions

JACUSTOMER-wlha6krn- :

Yes, but how does the router know to forward to 192.168.1.20 and not one of the other 3 machines? There is nothing in the router now that knows about this machine.

Kamil Anwar :

Then Click on this question, to continue.

Kamil Anwar :

I am assuming that tomcat is configure to listen on 8080 too

Kamil Anwar :

configured*

JACUSTOMER-wlha6krn- :

Okay. I must go now.

Kamil Anwar :

If you disable that forwarding, we will find that out in a 10 seconds.

Kamil Anwar :

Port 80 is the default port. It's what gets used when no port is specified. 8080 is tomcat's default port so as not to interfere with any other web server that may be running.

Kamil Anwar :

This may be the issue, but need to look at the configuration.

JACUSTOMER-wlha6krn- :

No. I configured this Tomcat instance to listen on 80 instead. As I mentioned, this was working before. Most of the site which is now at danholle.com is on this box. I moved the static content to a web provider and jumped out to the active content pages.

JACUSTOMER-wlha6krn- :

Okay, I must go.

Kamil Anwar :

No problem, we can continue when you're back. Have a safe journey.

Kamil Anwar :

Take Care.

JACUSTOMER-wlha6krn- :

So I go to justanswer.co.uk when I get back?

Kamil Anwar :

Yes, just open www.justanswer.co.uk and login.

Kamil Anwar :

Then Click on My Questions and chose this question.

JACUSTOMER-wlha6krn- :

Okay. Thanks.

Kamil Anwar :

You're welcome.

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
 
 
 

Meet The Experts:

 
 
 
  • Kamil Anwar

    Kamil Anwar

    Computer Support Specialist

    Satisfied Customers:

    143
    8+ Years of Experience. / CCNA (S), CCNA (W), CCNA (RS), MCTS, MBCs.
< Last | Next >
  • http://ww2.justanswer.com/uploads/JA/JACUSTOMERf8udkdxk/2013-8-3_15150_323738101505074393259301621172992o.64x64.jpg Kamil Anwar's Avatar

    Kamil Anwar

    Computer Support Specialist

    Satisfied Customers:

    143
    8+ Years of Experience. / CCNA (S), CCNA (W), CCNA (RS), MCTS, MBCs.
  • http://ww2.justanswer.com/uploads/WI/Windowspcfix/2013-8-19_153826_ja12.64x64.jpg James K.'s Avatar

    James K.

    Consultant

    Satisfied Customers:

    93
    Technical Director of IT Company
  • http://ww2.justanswer.com/uploads/JO/JonTech/2011-10-25_111835_A2c.64x64.jpg Jon-Tech's Avatar

    Jon-Tech

    IS Manager

    Satisfied Customers:

    61
    20 yrs: Computers, Networking
  • http://ww2.justanswer.com/uploads/MI/mikew4950/2011-12-26_1606_mikephoto2s.64x64.jpg MikeW's Avatar

    MikeW

    Computer Engineer

    Satisfied Customers:

    49
    32+ years Computer and Networking Experience
  • http://ww2.justanswer.com/uploads/JA/jamieratliff/2012-2-8_194551_jamie.64x64.jpg jamieratliff's Avatar

    jamieratliff

    Information Systems Manager

    Satisfied Customers:

    21
    Jamie has worked in the Information Technology field for over a decade.
  • http://ww2.justanswer.com/uploads/JA/JACUSTOMERleg4q7o8/2012-3-6_203036_meja.64x64.png TheDoctor's Avatar

    TheDoctor

    Software Engineer

    Satisfied Customers:

    16
    Experienced Software Engineer
  • http://ww2.justanswer.com/uploads/FI/FisherEngineering/2012-1-18_194422_Fisher375Headshotcompressed239K.64x64.jpg Bill Fisher's Avatar

    Bill Fisher

    Computer Engineer

    Satisfied Customers:

    1
    Computer system design, networks, integration, general support.
 
 
 

Related Computer Questions