tomcat web run

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alfredo

    tomcat web run

    Hi

    Hi

    I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have
    developed a lot of servlets and jsp pages and everything works fine. BUT,
    when i try to reach my pages from other machines it doesnt work, Why? So,
    typing http://localhost:8080 works for me. But typing htttp:ipnumber: 8080
    gives a "Page cannot be displayed". I have shutdown my firewall too, but
    without succeding. Is this a tomcat version just thought to be used as a
    testing server?? I cant find info about that. Please, any hint?

    Alf


  • Ryan Stewart

    #2
    Re: tomcat web run

    "alfredo" <alfcapasso@com hem.se> wrote in message
    news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .[color=blue]
    > Hi
    >
    > Hi
    >
    > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have
    > developed a lot of servlets and jsp pages and everything works fine. BUT,
    > when i try to reach my pages from other machines it doesnt work, Why? So,
    > typing http://localhost:8080 works for me. But typing htttp:ipnumber: 8080
    > gives a "Page cannot be displayed". I have shutdown my firewall too, but
    > without succeding. Is this a tomcat version just thought to be used as a
    > testing server?? I cant find info about that. Please, any hint?
    >
    > Alf
    >
    >[/color]
    First, it's http://<IP address>:8080. Assuming you have that correct, what
    other machines does it not work from and what IP address are you trying to
    use?


    Comment

    • alfredo

      #3
      Re: tomcat web run

      Hi

      Im using http://111.111.111.111:8080

      but the real ipnumber is another one.

      If I try to access my page from my machine, I succed when I type

      and also trying with


      But other people, typing this address from their home computer cant access
      it. Why?

      Alf
      [color=blue]
      > First, it's http://<IP address>:8080. Assuming you have that correct, what
      > other machines does it not work from and what IP address are you trying to
      > use?
      >
      >[/color]


      Comment

      • Mohamad Fazli

        #4
        Re: tomcat web run

        Do u have any firewall installed on your local..

        Basically... if you have a firewall installed.. then most potentialy your
        firewall is blocking the acess.

        How you can test .. is basically by going to the other PCs..

        the you do..

        Start --> Run --> cmd.exe

        Then .. you should type..

        telnet <your ip address> 8080

        You be looking at a blank screen now. If not.. means something is blocking
        it..

        ANyway.. just for your information, doing the telnet stuffs on top..
        basically trying to create a telnet session directly to your IP address to
        port 80.

        Rgds


        "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message
        news:JcqdnUdS4q U-Sf_dRVn-hw@texas.net...[color=blue]
        > "alfredo" <alfcapasso@com hem.se> wrote in message
        > news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .[color=green]
        > > Hi
        > >
        > > Hi
        > >
        > > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have
        > > developed a lot of servlets and jsp pages and everything works fine.[/color][/color]
        BUT,[color=blue][color=green]
        > > when i try to reach my pages from other machines it doesnt work, Why?[/color][/color]
        So,[color=blue][color=green]
        > > typing http://localhost:8080 works for me. But typing[/color][/color]
        htttp:ipnumber: 8080[color=blue][color=green]
        > > gives a "Page cannot be displayed". I have shutdown my firewall too, but
        > > without succeding. Is this a tomcat version just thought to be used as a
        > > testing server?? I cant find info about that. Please, any hint?
        > >
        > > Alf
        > >
        > >[/color]
        > First, it's http://<IP address>:8080. Assuming you have that correct, what
        > other machines does it not work from and what IP address are you trying to
        > use?
        >
        >[/color]


        Comment

        • alfredo

          #5
          Re: tomcat web run

          Hi

          I have a firewall, but i shutdown it. I have the Apache webserver running on
          port 8000. People can access my index page for the apache server under
          htdocs at http://ipnumber:8000
          BUT when they type http://ipnumber:8080 they get Page cannot be displayed.
          However, if I myself type http://ipnumber:8080 i can see the tomcat index
          page. Very strange, inst it? I first thought I needed to integrate tomcat
          with the apache server. But you dont need to do this to make the page
          accesible worlwide, right?

          alf

          "Mohamad Fazli" <fuzz@streamyx. com> skrev i meddelandet
          news:4062dc58_1 @news.tm.net.my ...[color=blue]
          > Do u have any firewall installed on your local..
          >
          > Basically... if you have a firewall installed.. then most potentialy your
          > firewall is blocking the acess.
          >
          > How you can test .. is basically by going to the other PCs..
          >
          > the you do..
          >
          > Start --> Run --> cmd.exe
          >
          > Then .. you should type..
          >
          > telnet <your ip address> 8080
          >
          > You be looking at a blank screen now. If not.. means something is blocking
          > it..
          >
          > ANyway.. just for your information, doing the telnet stuffs on top..
          > basically trying to create a telnet session directly to your IP address to
          > port 80.
          >
          > Rgds
          >
          >
          > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message
          > news:JcqdnUdS4q U-Sf_dRVn-hw@texas.net...[color=green]
          > > "alfredo" <alfcapasso@com hem.se> wrote in message
          > > news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .[color=darkred]
          > > > Hi
          > > >
          > > > Hi
          > > >
          > > > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have
          > > > developed a lot of servlets and jsp pages and everything works fine.[/color][/color]
          > BUT,[color=green][color=darkred]
          > > > when i try to reach my pages from other machines it doesnt work, Why?[/color][/color]
          > So,[color=green][color=darkred]
          > > > typing http://localhost:8080 works for me. But typing[/color][/color]
          > htttp:ipnumber: 8080[color=green][color=darkred]
          > > > gives a "Page cannot be displayed". I have shutdown my firewall too,[/color][/color][/color]
          but[color=blue][color=green][color=darkred]
          > > > without succeding. Is this a tomcat version just thought to be used as[/color][/color][/color]
          a[color=blue][color=green][color=darkred]
          > > > testing server?? I cant find info about that. Please, any hint?
          > > >
          > > > Alf
          > > >
          > > >[/color]
          > > First, it's http://<IP address>:8080. Assuming you have that correct,[/color][/color]
          what[color=blue][color=green]
          > > other machines does it not work from and what IP address are you trying[/color][/color]
          to[color=blue][color=green]
          > > use?
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Mohamad Fazli

            #6
            Re: tomcat web run

            How about telnet to the port... any luck?

            "alfredo" <alfcapasso@com hem.se> wrote in message
            news:S6B8c.8734 8$dP1.254439@ne wsc.telia.net.. .[color=blue]
            > Hi
            >
            > I have a firewall, but i shutdown it. I have the Apache webserver running[/color]
            on[color=blue]
            > port 8000. People can access my index page for the apache server under
            > htdocs at http://ipnumber:8000
            > BUT when they type http://ipnumber:8080 they get Page cannot be displayed.
            > However, if I myself type http://ipnumber:8080 i can see the tomcat index
            > page. Very strange, inst it? I first thought I needed to integrate tomcat
            > with the apache server. But you dont need to do this to make the page
            > accesible worlwide, right?
            >
            > alf
            >
            > "Mohamad Fazli" <fuzz@streamyx. com> skrev i meddelandet
            > news:4062dc58_1 @news.tm.net.my ...[color=green]
            > > Do u have any firewall installed on your local..
            > >
            > > Basically... if you have a firewall installed.. then most potentialy[/color][/color]
            your[color=blue][color=green]
            > > firewall is blocking the acess.
            > >
            > > How you can test .. is basically by going to the other PCs..
            > >
            > > the you do..
            > >
            > > Start --> Run --> cmd.exe
            > >
            > > Then .. you should type..
            > >
            > > telnet <your ip address> 8080
            > >
            > > You be looking at a blank screen now. If not.. means something is[/color][/color]
            blocking[color=blue][color=green]
            > > it..
            > >
            > > ANyway.. just for your information, doing the telnet stuffs on top..
            > > basically trying to create a telnet session directly to your IP address[/color][/color]
            to[color=blue][color=green]
            > > port 80.
            > >
            > > Rgds
            > >
            > >
            > > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message
            > > news:JcqdnUdS4q U-Sf_dRVn-hw@texas.net...[color=darkred]
            > > > "alfredo" <alfcapasso@com hem.se> wrote in message
            > > > news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .
            > > > > Hi
            > > > >
            > > > > Hi
            > > > >
            > > > > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I have
            > > > > developed a lot of servlets and jsp pages and everything works fine.[/color]
            > > BUT,[color=darkred]
            > > > > when i try to reach my pages from other machines it doesnt work,[/color][/color][/color]
            Why?[color=blue][color=green]
            > > So,[color=darkred]
            > > > > typing http://localhost:8080 works for me. But typing[/color]
            > > htttp:ipnumber: 8080[color=darkred]
            > > > > gives a "Page cannot be displayed". I have shutdown my firewall too,[/color][/color]
            > but[color=green][color=darkred]
            > > > > without succeding. Is this a tomcat version just thought to be used[/color][/color][/color]
            as[color=blue]
            > a[color=green][color=darkred]
            > > > > testing server?? I cant find info about that. Please, any hint?
            > > > >
            > > > > Alf
            > > > >
            > > > >
            > > > First, it's http://<IP address>:8080. Assuming you have that correct,[/color][/color]
            > what[color=green][color=darkred]
            > > > other machines does it not work from and what IP address are you[/color][/color][/color]
            trying[color=blue]
            > to[color=green][color=darkred]
            > > > use?
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • homesick_alien

              #7
              Re: tomcat web run

              Some ISP's block ports which can be potentially used as webservers..on
              accounts that are not paying for the access....i know Optusnet in Australia
              does it?

              Brings up a curious question...are you able to re-assign the tomcat port to
              another port?


              "Mohamad Fazli" <fuzz@streamyx. com> wrote in message
              news:40638f03_1 @news.tm.net.my ...[color=blue]
              > How about telnet to the port... any luck?
              >
              > "alfredo" <alfcapasso@com hem.se> wrote in message
              > news:S6B8c.8734 8$dP1.254439@ne wsc.telia.net.. .[color=green]
              > > Hi
              > >
              > > I have a firewall, but i shutdown it. I have the Apache webserver[/color][/color]
              running[color=blue]
              > on[color=green]
              > > port 8000. People can access my index page for the apache server under
              > > htdocs at http://ipnumber:8000
              > > BUT when they type http://ipnumber:8080 they get Page cannot be[/color][/color]
              displayed.[color=blue][color=green]
              > > However, if I myself type http://ipnumber:8080 i can see the tomcat[/color][/color]
              index[color=blue][color=green]
              > > page. Very strange, inst it? I first thought I needed to integrate[/color][/color]
              tomcat[color=blue][color=green]
              > > with the apache server. But you dont need to do this to make the page
              > > accesible worlwide, right?
              > >
              > > alf
              > >
              > > "Mohamad Fazli" <fuzz@streamyx. com> skrev i meddelandet
              > > news:4062dc58_1 @news.tm.net.my ...[color=darkred]
              > > > Do u have any firewall installed on your local..
              > > >
              > > > Basically... if you have a firewall installed.. then most potentialy[/color][/color]
              > your[color=green][color=darkred]
              > > > firewall is blocking the acess.
              > > >
              > > > How you can test .. is basically by going to the other PCs..
              > > >
              > > > the you do..
              > > >
              > > > Start --> Run --> cmd.exe
              > > >
              > > > Then .. you should type..
              > > >
              > > > telnet <your ip address> 8080
              > > >
              > > > You be looking at a blank screen now. If not.. means something is[/color][/color]
              > blocking[color=green][color=darkred]
              > > > it..
              > > >
              > > > ANyway.. just for your information, doing the telnet stuffs on top..
              > > > basically trying to create a telnet session directly to your IP[/color][/color][/color]
              address[color=blue]
              > to[color=green][color=darkred]
              > > > port 80.
              > > >
              > > > Rgds
              > > >
              > > >
              > > > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message
              > > > news:JcqdnUdS4q U-Sf_dRVn-hw@texas.net...
              > > > > "alfredo" <alfcapasso@com hem.se> wrote in message
              > > > > news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .
              > > > > > Hi
              > > > > >
              > > > > > Hi
              > > > > >
              > > > > > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I[/color][/color][/color]
              have[color=blue][color=green][color=darkred]
              > > > > > developed a lot of servlets and jsp pages and everything works[/color][/color][/color]
              fine.[color=blue][color=green][color=darkred]
              > > > BUT,
              > > > > > when i try to reach my pages from other machines it doesnt work,[/color][/color]
              > Why?[color=green][color=darkred]
              > > > So,
              > > > > > typing http://localhost:8080 works for me. But typing
              > > > htttp:ipnumber: 8080
              > > > > > gives a "Page cannot be displayed". I have shutdown my firewall[/color][/color][/color]
              too,[color=blue][color=green]
              > > but[color=darkred]
              > > > > > without succeding. Is this a tomcat version just thought to be[/color][/color][/color]
              used[color=blue]
              > as[color=green]
              > > a[color=darkred]
              > > > > > testing server?? I cant find info about that. Please, any hint?
              > > > > >
              > > > > > Alf
              > > > > >
              > > > > >
              > > > > First, it's http://<IP address>:8080. Assuming you have that[/color][/color][/color]
              correct,[color=blue][color=green]
              > > what[color=darkred]
              > > > > other machines does it not work from and what IP address are you[/color][/color]
              > trying[color=green]
              > > to[color=darkred]
              > > > > use?
              > > > >
              > > > >
              > > >
              > > >[/color]
              > >
              > >[/color]
              >
              >[/color]


              Comment

              • alfredo

                #8
                Re: tomcat web run

                Yes, you right. the problem was the port number 8080. For some reason it was
                blocked. I changed the tomcat port and it works now. many thanks.

                Alf

                "homesick_alien " <homesick_alien @optusnet.com.a u> skrev i meddelandet
                news:4064392a$0 $3954$afc38c87@ news.optusnet.c om.au...[color=blue]
                > Some ISP's block ports which can be potentially used as webservers..on
                > accounts that are not paying for the access....i know Optusnet in[/color]
                Australia[color=blue]
                > does it?
                >
                > Brings up a curious question...are you able to re-assign the tomcat port[/color]
                to[color=blue]
                > another port?
                >
                >
                > "Mohamad Fazli" <fuzz@streamyx. com> wrote in message
                > news:40638f03_1 @news.tm.net.my ...[color=green]
                > > How about telnet to the port... any luck?
                > >
                > > "alfredo" <alfcapasso@com hem.se> wrote in message
                > > news:S6B8c.8734 8$dP1.254439@ne wsc.telia.net.. .[color=darkred]
                > > > Hi
                > > >
                > > > I have a firewall, but i shutdown it. I have the Apache webserver[/color][/color]
                > running[color=green]
                > > on[color=darkred]
                > > > port 8000. People can access my index page for the apache server under
                > > > htdocs at http://ipnumber:8000
                > > > BUT when they type http://ipnumber:8080 they get Page cannot be[/color][/color]
                > displayed.[color=green][color=darkred]
                > > > However, if I myself type http://ipnumber:8080 i can see the tomcat[/color][/color]
                > index[color=green][color=darkred]
                > > > page. Very strange, inst it? I first thought I needed to integrate[/color][/color]
                > tomcat[color=green][color=darkred]
                > > > with the apache server. But you dont need to do this to make the page
                > > > accesible worlwide, right?
                > > >
                > > > alf
                > > >
                > > > "Mohamad Fazli" <fuzz@streamyx. com> skrev i meddelandet
                > > > news:4062dc58_1 @news.tm.net.my ...
                > > > > Do u have any firewall installed on your local..
                > > > >
                > > > > Basically... if you have a firewall installed.. then most potentialy[/color]
                > > your[color=darkred]
                > > > > firewall is blocking the acess.
                > > > >
                > > > > How you can test .. is basically by going to the other PCs..
                > > > >
                > > > > the you do..
                > > > >
                > > > > Start --> Run --> cmd.exe
                > > > >
                > > > > Then .. you should type..
                > > > >
                > > > > telnet <your ip address> 8080
                > > > >
                > > > > You be looking at a blank screen now. If not.. means something is[/color]
                > > blocking[color=darkred]
                > > > > it..
                > > > >
                > > > > ANyway.. just for your information, doing the telnet stuffs on top..
                > > > > basically trying to create a telnet session directly to your IP[/color][/color]
                > address[color=green]
                > > to[color=darkred]
                > > > > port 80.
                > > > >
                > > > > Rgds
                > > > >
                > > > >
                > > > > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message
                > > > > news:JcqdnUdS4q U-Sf_dRVn-hw@texas.net...
                > > > > > "alfredo" <alfcapasso@com hem.se> wrote in message
                > > > > > news:Esz8c.8734 4$dP1.254316@ne wsc.telia.net.. .
                > > > > > > Hi
                > > > > > >
                > > > > > > Hi
                > > > > > >
                > > > > > > I ve installed Apache Tomcat 5.0.19 on my windows xp machine. I[/color][/color]
                > have[color=green][color=darkred]
                > > > > > > developed a lot of servlets and jsp pages and everything works[/color][/color]
                > fine.[color=green][color=darkred]
                > > > > BUT,
                > > > > > > when i try to reach my pages from other machines it doesnt work,[/color]
                > > Why?[color=darkred]
                > > > > So,
                > > > > > > typing http://localhost:8080 works for me. But typing
                > > > > htttp:ipnumber: 8080
                > > > > > > gives a "Page cannot be displayed". I have shutdown my firewall[/color][/color]
                > too,[color=green][color=darkred]
                > > > but
                > > > > > > without succeding. Is this a tomcat version just thought to be[/color][/color]
                > used[color=green]
                > > as[color=darkred]
                > > > a
                > > > > > > testing server?? I cant find info about that. Please, any hint?
                > > > > > >
                > > > > > > Alf
                > > > > > >
                > > > > > >
                > > > > > First, it's http://<IP address>:8080. Assuming you have that[/color][/color]
                > correct,[color=green][color=darkred]
                > > > what
                > > > > > other machines does it not work from and what IP address are you[/color]
                > > trying[color=darkred]
                > > > to
                > > > > > use?
                > > > > >
                > > > > >
                > > > >
                > > > >
                > > >
                > > >[/color]
                > >
                > >[/color]
                >
                >[/color]


                Comment

                Working...