Local Host vs NAT IP

I apologize in advance, as this is probably a stupid question. I’m having a
hard time finding information in the docs and I’m still fairly new at this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local host
(http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network
(http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites from two
different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug

are you sure that Lucee is processing the page when you access it via
the LAN address? (as opposed to receiving an “html” page with the Lucee
source code).

check the following:

1) view source of the page to see that you don't see any <cf... >

directives in the source, which will answer the question above

2) open Developer Tools (F12 on most browsers) and check what

happens with the missing images (404s?). check the URLs of those
missing images

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 2/27/2015 7:26 PM, Doug Roberson wrote:

I apologize in advance, as this is probably a stupid question. I’m
having a hard time finding information in the docs and I’m still
fairly new at this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local
host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network
(http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites
from two different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Thanks for your help, Igal… I cheated, but it is working now.

I made those suggested changes with no difference in the result.

Firewall is disabled on the server and on the client computer. Both
machines are behind the same router, which allows access to the server’s
IIS default page without issue.

I’ve just deleted the VM and restored a pre-Lucee version from backup. With
all of the things I’ve tried to fix the problem, I could have created half
a dozen more issues.

After the re-install, it is working as expected when viewing
http://192.168.1.80:8888/

I’m going to make a post-install backup now, and then try to bring over my
other sites.

Besides server.xml, isn’t there another file I’ll need to edit to point a
site to a different folder?

On my other servers (running Railo), I actually used Helicon Zoo, which
takes care of all the configuration for you.>

Igal

Thanks for the assistance!

There are no CF directives in view source.

In Debugging/Elements, when I right click and open in new tab, it returns:

HTTP Status 404 - /assets/img/img-first-steps.png

type Status report

message /assets/img/img-first-steps.png

description The requested resource is not available.

Apache Tomcat/7.0.59On Saturday, February 28, 2015 at 2:44:24 AM UTC-5, Igal wrote:

are you sure that Lucee is processing the page when you access it via the
LAN address? (as opposed to receiving an “html” page with the Lucee source
code).

check the following:

1) view source of the page to see that you don't see any <cf... > 

directives in the source, which will answer the question above

2) open Developer Tools (F12 on most browsers) and check what happens 

with the missing images (404s?). check the URLs of those missing images

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 2/27/2015 7:26 PM, Doug Roberson wrote:

I apologize in advance, as this is probably a stupid question. I’m having
a hard time finding information in the docs and I’m still fairly new at
this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local
host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network (
http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites from
two different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Yes, I did. I actually rebooted the whole VM once, just in case.

This time around, i added a new host section in server.xml, restarted and
it created the WEB-INF folder for the new host, as expected.

I’m googling the steps for setting up the new site now and will then copy
over the files for a site from the old server, add the datasource to Lucee,
change the port forward on the router, and see what happens.

Thank you very much for the help. I’m sorry I wasn’t able to define what
caused the problem in the first place. I didn’t do anything differently in
that install, so I can’t really explain it.>

I would set the Host name=“localhost” and then make sure that the Engine
defaultHost is set to that value, so:

... ...

this way any request that doesn’t match the host will go to the default
localhost and you’ll have one less thing to worry about.

issue. make sure that no firewalls are blocking the request. it’s
possible that the firewall allows requests form localhost but not from
another machine. first go to Windows Firewall and then check any other
appliance or software.

it’s usually a simple thing once you figure it out, but hard to tell
without seeing it.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/from my experience issues like this are most of the time a network

On 2/28/2015 5:34 AM, Doug Roberson wrote:

Igal

Thanks for the assistance!

There are no CF directives in view source.

In Debugging/Elements, when I right click and open in new tab, it returns:

HTTP Status 404 - /assets/img/img-first-steps.png

type Status report

message /assets/img/img-first-steps.png

description The requested resource is not available.

Apache Tomcat/7.0.59

On Saturday, February 28, 2015 at 2:44:24 AM UTC-5, Igal wrote:

are you sure that Lucee is processing the page when you access it
via the LAN address?  (as opposed to receiving an "html" page with
the Lucee source code).

check the following:

    1) view source of the page to see that you don't see any
<cf... > directives in the source, which will answer the question
above

    2) open Developer Tools (F12 on most browsers) and check what
happens with the missing images (404s?).  check the URLs of those
missing images

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

On 2/27/2015 7:26 PM, Doug Roberson wrote:
I apologize in advance, as this is probably a stupid question.
I'm having a hard time finding information in the docs and I'm
still fairly new at this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the "Welcome to your Lucee Installation1" page via
local host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same
network (http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple
sites from two different servers running Railo to one server
running Lucee. 

Thank you for your help and, if needed, your forbearance.

I'll probably have more questions over the next couple of days.

Doug

-- 
You received this message because you are subscribed to the
Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/035dfcea-93db-4034-ad22-0347696f9b7e%40googlegroups.com
https://groups.google.com/d/msgid/lucee/035dfcea-93db-4034-ad22-0347696f9b7e%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

my guess would be that you need to add this IP to server.xml

You will need to do this if you use a domain name as well.

 <!--   HOST ENTRY TEMPLATE:
    <Host name="[ENTER DOMAIN NAME]" appBase="webapps">
         <Context path="" docBase="[ENTER SYSTEM PATH]" />
         <Alias>[ENTER DOMAIN ALIAS]</Alias>
    </Host>
  -->
92.168.1.80 my.domain.here On 28 February 2015 at 11:26, Doug Roberson <@Doug_Roberson> wrote:

I apologize in advance, as this is probably a stupid question. I’m having
a hard time finding information in the docs and I’m still fairly new at
this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local
host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network (
http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites from
two different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

AJ

Thanks for the help!

When I add the recommended host entry below and attempt to restart Lucee,
it fails to start (log says Child name ‘127.0.0.1’ is not unique)

I added the alias entry to the existing host (localhost) and restarted, but
get the same result.

92.168.1.80

I haven’t added a domain name alias yet - as soon as I have the server up
and running, I’ll switch port forwarding to this machine and add the domain
aliases.On Saturday, February 28, 2015 at 4:49:20 AM UTC-5, AJ Mercer wrote:

my guess would be that you need to add this IP to server.xml

You will need to do this if you use a domain name as well.

 <!--   HOST ENTRY TEMPLATE:
    <Host name="[ENTER DOMAIN NAME]" appBase="webapps">
         <Context path="" docBase="[ENTER SYSTEM PATH]" />
         <Alias>[ENTER DOMAIN ALIAS]</Alias>
    </Host>
  -->
92.168.1.80 my.domain.here

On 28 February 2015 at 11:26, Doug Roberson <douglass...@gmail.com <javascript:>> wrote:

I apologize in advance, as this is probably a stupid question. I’m having
a hard time finding information in the docs and I’m still fairly new at
this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local
host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network (
http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites from
two different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

One more note - I did comment out the original localhost entry before I
added your suggested entry.On Saturday, February 28, 2015 at 4:49:20 AM UTC-5, AJ Mercer wrote:

my guess would be that you need to add this IP to server.xml

You will need to do this if you use a domain name as well.

 <!--   HOST ENTRY TEMPLATE:
    <Host name="[ENTER DOMAIN NAME]" appBase="webapps">
         <Context path="" docBase="[ENTER SYSTEM PATH]" />
         <Alias>[ENTER DOMAIN ALIAS]</Alias>
    </Host>
  -->
92.168.1.80 my.domain.here

On 28 February 2015 at 11:26, Doug Roberson <douglass...@gmail.com <javascript:>> wrote:

I apologize in advance, as this is probably a stupid question. I’m having
a hard time finding information in the docs and I’m still fairly new at
this.

Lucee 4.5.1.000
Windows Server 2012 R2
Connects to MS SQL Server 2012, running on a Windows 2008 R2 server.

When I access the “Welcome to your Lucee Installation1” page via local
host (http://127.0.0.1:8888/), the page displays normally.

Accessing the page via IP from another machine on the same network (
http://192.168.1.80:8888), the images are not displayed.

This weekend, I am hoping to consolidate several very simple sites from
two different servers running Railo to one server running Lucee.

Thank you for your help and, if needed, your forbearance.

I’ll probably have more questions over the next couple of days.

Doug


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3946c0a6-9cf6-4b72-b26e-b20628be8865%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix