Opened 17 years ago

Closed 17 years ago

#97 closed defect (fixed)

Webstudio Fails on Localhost connection

Reported by: zspitzer Owned by: 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 (3)

comment:1 by pagameba, 17 years ago

Owner: set to zjames
Priority: highmedium
Severity: majorminor

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.

comment:2 by zspitzer, 17 years ago

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.

comment:3 by zjames, 17 years ago

Resolution: fixed
Status: newclosed

changed default to 127.0.0.1

Committed revision 1638.

Note: See TracTickets for help on using tickets.