Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 13 total
Thread Internal IDE browser needs internet connection
Tue, Apr 14 2015 12:27 AMPermanent Link

Rick

If I am using EWB2 on an offline machine (no Internet connection) then
the internal IDE web server doesn't appear to work. When I click the run
button in the IDE the internal browser window appears but remains blank.
"Running..." appears in the title area.

The same thing happens with EWB1 except I see a message saying that the
page could not be displayed.

When the machine is connected to the Internet then both EWB1 and EWB2
display the application correctly when pressing run.

Note that even when disconnected the application compiles successfully
and I can run it outside the IDE in either IE or Firefox.

Is there a setting somewhere that allows offline running or is being
online a requirement for using the internal IDE browser?

--
Rick
Tue, Apr 14 2015 4:02 AMPermanent Link

Matthew Jones

Rick wrote:

> If I am using EWB2 on an offline machine (no Internet connection)

What do you actually mean by "offline"? The local web server will
require that the basic IP networking is active. It will need to be able
to talk to localhost. If you open a command window and type "ping
localhost", what happens?

I ask all this because I can't imagine a computer without basic
networking, even if it isn't plugged in to the network. Why would you
have such?
Tue, Apr 14 2015 8:58 AMPermanent Link

Rick

On 14/04/15 18:02, Matthew Jones wrote:
> What do you actually mean by "offline"? The local web server will
> require that the basic IP networking is active. It will need to be able
> to talk to localhost. If you open a command window and type "ping
> localhost", what happens?
>
> I ask all this because I can't imagine a computer without basic
> networking, even if it isn't plugged in to the network. Why would you
> have such?
>

Yeah, it has all of the networking. I just deactivated wireless/pulled
the ethernet cable so there's no connection to the router and therefore
the Internet.

I can run the EWB application from the file system outside of the IDE. I
can also run the application via local IIS on the internet-disconnected
machine.

It just won't run in the IDE browser.

This just makes it difficult to work on a project when no internet is
available (e.g. camping in a tent in the wilderness - I hate camping!)

--
Rick
Tue, Apr 14 2015 10:06 AMPermanent Link

Doc

Rick wrote:
It just won't run in the IDE browser.
______________________________

Just look if it's similar to my problem discribed here:
http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&msg=4879&page=5
Tue, Apr 14 2015 2:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

<< If I am using EWB2 on an offline machine (no Internet connection) then
the internal IDE web server doesn't appear to work. When I click the run
button in the IDE the internal browser window appears but remains blank.
"Running..." appears in the title area. >>

http://stackoverflow.com/questions/17188146/ie9-local-filesystem-security-prevents-js-execution

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Apr 15 2015 7:42 AMPermanent Link

Rick

On 15/04/15 00:06, Doc wrote:
> Just look if it's similar to my problem discribed here:
> http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&msg=4879&page=5
>

Thanks. The IDE browser does work on my internet disconnected machine if
I stop the internal EWB2 browser and let the IDE run the application
directly from the file system. Seems that only the internal browser has
the problem.

Disabling the DOM storage feature doesn't seem to change anything
related to this issue.

--
Rick
Wed, Apr 15 2015 8:04 AMPermanent Link

Rick

On 15/04/15 04:11, Tim Young [Elevate Software] wrote:
>
> http://stackoverflow.com/questions/17188146/ie9-local-filesystem-security-prevents-js-execution
>

I sort of understand the Windows security model when it comes to web
serving but this situation with the EWB internal http server doesn't
make sense to me.

If my machine is Internet connected then the application runs
successfully in the IDE browser if the EWB internal web server is either
running or stopped.

If my machine is Internet disconnected then the application runs
successfully in the IDE browser only if the EWB internal web server is
stopped. It doesn't run if the internal server is running.

If my machine is Internet disconnected then I can run the application
successfully in IE either directly from the file system or via IIS.

Why doesn't the internal EWB web server work when the machine is
Internet disconnected?

The stackoverflow response talks about the web browser control being
affected by the security level but wouldn't this also affect IE being
served from IIS on the same machine?

I'm sure the answer is obvious and I'm just being thick but I don't get it.

--
Rick
Wed, Apr 15 2015 12:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

Yeah, scratch what I posted - it was off-the-mark. Smile

<< If my machine is Internet disconnected then the application runs
successfully in the IDE browser only if the EWB internal web server is
stopped. It doesn't run if the internal server is running.

If my machine is Internet disconnected then I can run the application
successfully in IE either directly from the file system or via IIS.

Why doesn't the internal EWB web server work when the machine is Internet
disconnected? >>

So, you have IIS *and* the EWB Web Server running at the same time on the
same machine ?  If so, what ports are each listening on ?

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Apr 15 2015 5:12 PMPermanent Link

Rick

On 16/04/15 02:39, Tim Young [Elevate Software] wrote:
> So, you have IIS *and* the EWB Web Server running at the same time on
> the same machine ?  If so, what ports are each listening on ?
>

On one machine, yes, both the EWB internal server (port 8080) and IIS
(port 80) are running. On another machine I don't have IIS (or any other
http server) running.

There are no port conflicts. The EWB internal server works when the
machine is connected to the Internet via a router and doesn't when it isn't.

You can try it yourself. Just pull the cable and click run in the EWB IDE.

--
Rick
Wed, Apr 15 2015 8:58 PMPermanent Link

Raul

Team Elevate Team Elevate

On 4/15/2015 5:12 PM, Rick wrote:
> You can try it yourself. Just pull the cable and click run in the EWB IDE.

I can confirm this as well.

Running EWB2 preview with built-in server on port 88.

With primary network interface enabled i can run the test app in the EWB
IDE (it shows it running from http://localhost:88/test2.html).

If i now disable the network interface and try to run the project it
never comes up ( i still have 2 more vmware interfaces so local IPs
exist etc).

If i start a browser at this time (tried IE and Chrome) and navigate to
"http://localhost:88/test2.html" the project comes up OK (looks like
localhost address and EWB2 web server are working just fine). Hence
issue is just with the EWB IDE and running a project using built-in web
server.

Raul
Page 1 of 2Next Page »
Jump to Page:  1 2
Image