Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Web server only on localhost

Questions and comments specific to a particular plugin should go here.
Post Reply
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Web server only on localhost

Post by nissse »

Hello

I'm trying to setup the plugin webserver but I can only get it to work with

localhost:8098

when I try to enter the computers static IP 192.168.0.1:8098 I get:


This page can't be displayed

ÔÇóMake sure the web address http://192.168.0.1:8098 is correct.
ÔÇóLook for the page with your search engine.
ÔÇóRefresh the page in a few minutes.



I have tried changing port.
As long as I type localhost:8098 it's working fine and it's showing index.html
What am I doing wrong ??

BR
Nisse
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Web server only on localhost

Post by krambriw »

Windows Firewall ???
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Re: Web server only on localhost

Post by nissse »

Thank for reply

Sorry for the lack of information.

I'm using windows 7 and firewall is off.

My original goal is to be able to get events from a linux machine running openelec thats why I need to get webserver up and running.


BR
Nissse
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: Web server only on localhost

Post by piert »

Is the IP of your computer really 192.168.0.1, or is that maybe the address of your router?
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Re: Web server only on localhost

Post by nissse »

Thank you for your reply.

My IP is 192.168.0.1 and I have the router at 192.168.0.50

ipconfig /all

Code: Select all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Server1
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 6C-F0-49-DF-47-E7
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::f45d:686a:4746:e329%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.50
   DHCPv6 IAID . . . . . . . . . . . : 242020425
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-FB-E1-21-6C-F0-49-DF-47-E

   DNS Servers . . . . . . . . . . . : 192.168.0.50
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{7B477F22-6406-4641-91C9-FC0DF25EB3AB}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:3f:547:fa69:3e08(Prefer
ed)
   Link-local IPv6 Address . . . . . : fe80::3f:547:fa69:3e08%12(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled
I tried to disable ipv6 but same result.

Strange thing is when i ping localhost I get this:

Code: Select all

C:\Users\User1>ping localhost

Pinging Server1 [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
And when I ping the name of the coputer (server1)

Code: Select all

C:\Users\User1>ping server1

Pinging Server1 [fe80::f45d:686a:4746:e329%10] with 32 bytes of data:
Reply from fe80::f45d:686a:4746:e329%10: time<1ms
Reply from fe80::f45d:686a:4746:e329%10: time<1ms
Reply from fe80::f45d:686a:4746:e329%10: time<1ms
Reply from fe80::f45d:686a:4746:e329%10: time<1ms

Ping statistics for fe80::f45d:686a:4746:e329%10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
It look to me like it's a ipv6 reply but I get the same reply even if I disable ipv6 on the NIC.

Any ides ?

BR
Nissse
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Re: Web server only on localhost

Post by nissse »

I disabled the ipv6 completely using this guide http://support.microsoft.com/kb/929852

Now it looks better when i ping but still the same problem.

when i ping localhost I get reply from 127.0.0.1 as normal :

Code: Select all

C:\Users\User1>ping localhost

Pinging Server1 [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
But trying 127.0.0.1:8098 in a webbrowser dont work.
Using localhost:8098 works as normal


I don't get it, very curios to hear the explanation for this one.
nissse
Posts: 11
Joined: Wed Sep 08, 2010 2:13 pm

Re: Web server only on localhost

Post by nissse »

First I will Thank krambriw and piert for trying to help out.

I downloaded this old version of webserver and replaced it in C:\Program Files (x86)\EventGhost\plugins\Webserver\__init__.py
Now it's working again. =)

viewtopic.php?f=9&t=1610
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: Web server only on localhost

Post by piert »

Glad you got it solved. Keep an eye on the announced webserver update by Pako on this forum. According to Pako, it will have some exciting new features.
Post Reply