MapGuide Open Source:  Home |  Download |  Internals

Ticket #97 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Webstudio Fails on Localhost connection

Reported by: zspitzer Assigned to: zjames
Priority: medium Milestone: 1.2
Component: Web Studio Version: 1.2.0
Severity: minor Keywords:
Cc: External ID:

Description

I have a vanilla install of mapguide 1.20 beta 1 (bundled php), however, i can't connect to the mapguide server via webstudio. the site Explorer always fails with a time out on fsockopen in the redirect.php whilst trying to connect to the mapguide server. Even with my firewall disabled. I am on xp sp2

After some playing around i found that if i change the config.xml to use the 127.0.0.1 ip address instead of localhost i can successfully connect to the mapguide server and see the site explorer.

When i do a ping localhost, it resolves to ::F: which is IPv6

Change History

05/04/07 06:53:39 changed by pagameba

  • priority changed from high to medium.
  • owner set to zjames.
  • severity changed from major to minor.

I've seen this as well on specific machines. And on others it works fine. I believe that it is some sort of configuration of the OS itself rather than a Web Studio bug.

A work-around for 1.2 would be to put in 127.0.0.1 into the config because I think that will work everywhere.

05/04/07 23:12:25 changed by zspitzer

ok, it's definitely a PHP bug

http://bugs.php.net/bug.php?id=40279

I agree about the 127.0.0.1 change, but i would add a comment to the config.xml explaining why to make people's life easier.

some better error handling would be good here as this does appear to be the central communication point for webstudio.

05/07/07 09:43:51 changed by zjames

  • status changed from new to closed.
  • resolution set to fixed.

changed default to 127.0.0.1

Committed revision 1638.