Dashcode development - Emulator safari not able to load the page - ios-simulator

I am using iOS simulator 4.3 for Dashcode 3.0.2. When I run the application I the simulator safari throws an error and cannot load the page. On the other hand the page is easily loaded on desktop browser. The url of the application formed uses localhost with the port number. However, when I replace the localhost word in the url with the ip address of my system, it works perfectly on the simulator safari.
I am blocked please help.

The .local keyword was deleted from Bypass proxy settings, I added it back and it works great now.

Related

Why do my local debug websites always open in Internet Explorer?

I have two entirely separate web apps that display the same behavior on Windows 10. One is an Angular 8/nodejs 16 app that I can serve locally with ng serve. The 2nd is an older ASP.NET site that I build/run locally via Visual Studio. The behavior is this:
If I try to access the local website via localhost in Chrome or Edge, the site is immediately opened instead in Internet Explorer. Attempting to open in Firefox, however, is successful.
I recently upgraded computers and am only experiencing this on the new machine. I have been unable to identify what could be causing this. Windows default browser is set to Chrome.
In your computer, change your default web browser as:
settings-->default apps-->web browser
Figured it out...it's an IT policy that has the respective browsers always open specific URLs in IE--in this case, localhost. I was able identify this by videoing the screen and noticing a message that popped up for only a few milliseconds:
Your system administrator has configured Google Chrome to open Internet Explorer to access localhost.
With that error, I found this question on SO with the answer.

localhost not running any apps - firefox, edge, chrome VM53:2755 crbug/1173575, non-JS module files deprecated

This is the error showing up in my console - VM53:2755 crbug/1173575, non-JS module files deprecated.
EDGE: It looks like the webpage at http://localhost:87/ might be having issues, or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
CHROME: The webpage at http://localhost:87/espo/ might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
FIREFOX: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.
I'm running my apps inside laragon setup.
None of my apps in firefox, edge, chrome running as Localhost. After checking so many articles and forum posts I thought to post it here.
I'm surprised that Internet Explorer is working fine and apps are working.
Any help will be highly appreciated, thank you.

SSL doesn't work for PassBook on iPhones

We built a passbook server on ASP.NET and it worked perfect in Dev. environment (without SSL certificate).
Passes that were generated could be seen on iPhone (in dev. mode) and on Mac.
Then we bought an SSL from Thawte (just for the domain) and added the certificate to IIS.
Of course, domain name is associated with the same IP address.
So now, when a link to the pass is generated on our server, normal iPhone can't download it, saying "Can't download the file".
If I click the same link in Safari on Mac, it is opened, when click it from Chrome - file is downloaded.
We've tried whatever was possible - enabling SSL 2.0, then SSL 3.0 on the server. We also trued disabling all SSL and enabling all TLS instead - no luck.
The aspnet passbook server is configured using the following.
SSL 2 (disabled)
SSL 3 (disabled)
TLS 1.0 (enabled)
TLS 1.1 (enabled)
TLS 1.2 (enabled)
here is the ssl test result: http://clip2net.com/s/3lUpIiq
seems pretty configured correctly.
the pass can be viewed/run to any mac safari browsers, downloads pretty well on non-safari browsers, but not on iphones.
it just says, cannot download the file. we have been trying to search the internet for possible answers but no luck.
the thing is that the browsers including mac safari recognizes well the certificate installed on the aspnet passbook server. but it seems iphones does not recognize the certificate.
Please advise what else could be done?
Thanks!
Does the webServiceUrl have 'https'? If not, it needs to (see https://developer.apple.com/library/ios/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html#//apple_ref/doc/uid/TP40012026-CH2-SW3).
Other than that, you should be able to view the error from Passbook in the console window in XCode.
We found out what the error was, when we tried to debug it on a MAC with XCode. What it showed was the pass was missing some required fields, in our case, the icon/logo image, and second was the pass registration endpoint had some errors.
We tried to fix these issues including our pass registration endpoint. After that, all went well and has been working smoothly.
Depending on the pass type, there must be required fields that must be met, else, the pass won't install correctly on production mode.
Many thanks!

Why can't I view my localhost files on Windows 10?

I have recently installed Windows 10. One problem I have encountered is that I can't view localhost files. This is the case for all browsers I use: Chrome, Firefox and not just Edge. In Chrome and Firefox I only see a blank screen whereas Edge gives me an HTTP 404 error message.
I use XAMPP for developing Wordpress sites locally before deploying them to a live server so this is a problem for me. Any help would be greatly appreciated.

MAMP "Extras" Wordpress site causes error ERR_CONNECTION_REFUSED

In short, I can create a new MAMP Pro 3 host with success and then download and install Wordpress 4.0 via MAMP Pro's "Extra's" feature also seemingly with success (no errors, ) ...yet it doesn't turn out that way as the browser says, "Error code: ERR_CONNECTION_REFUSED".
Full Details: Hi, I've just installed MAMP Pro for the first time on Mac OS 10.9.5 with all the default settings, the WebStart page loaded in the browser, php looks to be running fine. The problem I'm having occurs when running a preliminary test of MAMP by trying the Extras feature and installing Wordpress 4.0. I get no indication that anything went wrong with the default install yet clicking the button next to the Server Name "Open the hosts web page in a browser"... I am greeted with an error in Google Chrome, Firefox, Safari, etc....
"This webpage is not available. Google Chrome's connection attempt to was rejected. Error code: ERR_CONNECTION_REFUSED
Google Chrome's connection attempt to testwpextra.dev was rejected. The website may be down, or your network may not be properly configured.
Check your Internet connection
Allow Chrome to access the network in your firewall or antivirus settings.
Check your proxy settings
"
I'm not using a proxy, I am running apache as my local user and have confirmed the document root is owned by the same user (with read/write permissions), I turned off firewall/littlesnitch just to be sure, same result in various browsers.
I read some fella saying something about setting up his host with IPv6 but I'm using the MAMP control panel to manage the process for me and don't see settings of that nature. Maybe this is done via the Extended tab with directory or VirtualHost parameters, I don't know... wish I did. Please help! Thanks!
I solved my problem by changing MAMPs ports from the default 8888 etc... to 80,443,3306 (on MAMPs General tab). Now all my includes are broken because MAMP doesn't allow "php_value" in htaccess files...one step at a time i guess. =]

Resources