OnCourse Software

Welcome to our Product Support Forums

Chrome refuses connect with local host

Post Reply   Page 1 of 3  [ 27 posts ]
Jump to page 1 2 3 »
Author Message
pck42
Post subject: Chrome refuses connect with local host
Posted: Thu Oct 24, 2024 6:44 pm
Offline
 
Posts: 140
Joined: Sat Apr 30, 2022 4:23 pm
Location: Orlando, Florida
 
Hi Martin, despite a well written manual, I'm not positive I entered correct data in the Web Display ini file. Please check to see they are correct ( I have also tried entering my computer name and the ip address as the PF3 host) to no avail. The screen does flash when I activate the Web Display. but both Chrome and Edge refuse the connection.

Why does the log file say it cannot find the ini file?

I'm thinking this is a firewall issue but just need to check with you before contacting Dell support. If you need additional info please advise me.
pck42

Attachments
log.zip
(513 Bytes) Downloaded 177 times
ini.zip
(351 Bytes) Downloaded 157 times


Top
Profile Quote
pointy56
Post subject: Re: Chrome refuses connect with local host
Posted: Thu Oct 24, 2024 10:04 pm
Offline
 
Posts: 359
Joined: Tue Feb 02, 2021 7:51 am
 
From the log I can see that Web Display is being started automatically by PF3 and appears to be connecting and running correctly.
Using the default values for WD you should be able to connect to http://localhost:7339/ or http://192.168.1.112:7339/ as given in the log.

So a question for you: Are you trying to use a browser on the same system as PF3 and WD, or a different device?
It should be possible to connect from the same system without issue, the firewall may well be getting in the way from another device.

As for 'not finding the .ini file', the file needs to be in the same folder as PF3WebDisplay.exe - that's the only location where the WD program looks.
For many users starting out the default values will work just fine, as the manual tries to explain - in this case no ini file is needed.
This applies in particular to PF3Port, PF3Host and WebPort, so these values are probably not required (WD seems to be connecting just fine).
However, ATCRadio and RemoteText are required if you wish to enable those features, the others in the sample file show possible customisations.

I hope that this helps, but do please come back if you're still having problems.

Martin

_________________

[ img ]


Top
Profile Quote
pck42
Post subject: Re: Chrome refuses connect with local host
Posted: Tue Nov 05, 2024 5:42 pm
Offline
 
Posts: 140
Joined: Sat Apr 30, 2022 4:23 pm
Location: Orlando, Florida
 
Well, I'm back and yes, I am trying to connect on the same pc as FS2020. I had no luck with Dell but will try again.


I didn't realize that the Web Displayer would have the same problem as the regular PF3 Displayer (though I should have). Neither work for months now but Displayer did work before. What is PF3 Displayer and the Web Display looking for? A File or perhaps an ini entry?

Of course I am running FS2020 and PF3 is connected giving me instruction but, PF3 displayer gives me the message "PF3 must be running and connected to the Flight Simulator".... and no port is shown. Web Display will not connect as shown in my earlier post.

I have attached the PF3 ini file as well as the debug log but not shown any of that will be helpful. Could you get with Dave and discuss it. Did Dave write the PF3 Displayer program or someone else?

Any more ideas? Thanks
pck42

Attachments
PF3.zip
(2.68 KiB) Downloaded 103 times
debug_monitor.zip
(484.17 KiB) Downloaded 107 times


Top
Profile Quote
pointy56
Post subject: Re: Chrome refuses connect with local host
Posted: Wed Nov 06, 2024 2:15 pm
Offline
 
Posts: 359
Joined: Tue Feb 02, 2021 7:51 am
 
Unfortunately there's nothing in the files you provided to suggest what the problem might be.
It is worth remembering that Web Display is an alternative to PF3 Displayer, they cannot be used at the same time; as you have WD set to start-up automatically PF3D will not be able to connect.
Can you please try setting up a flight with MSFS and PF3 and then try to connect to http://localhost:7339/ from your browser.
If you then check the Web Display log you should at least see an incoming connection recorded.
If not, please download and run the attached test program; select '1010' as the port number and upload a screenshot of the output.

Thanks,
Martin

Attachments
TCPPortTest.zip
(62.58 KiB) Downloaded 104 times

_________________

[ img ]


Top
Profile Quote
pck42
Post subject: Re: Chrome refuses connect with local host
Posted: Fri Nov 08, 2024 5:58 pm
Offline
 
Posts: 140
Joined: Sat Apr 30, 2022 4:23 pm
Location: Orlando, Florida
 
The following message appears on my screen

THIS APP CANNOT RUN ON YOUR PC

To find a correct version please contact your software developer

Huh?
pck42


Top
Profile Quote
pointy56
Post subject: Re: Chrome refuses connect with local host
Posted: Fri Nov 08, 2024 9:37 pm
Offline
 
Posts: 359
Joined: Tue Feb 02, 2021 7:51 am
 
So for some reason Windows 11 doesn't like that program - it was built on Windows 10, and I unfortunately don't have a Windows 11 system to use.
I can see from the log that you are running Windows 11 Home - are you using Windows Defender or another AV program?

Did you try running MSFS and PF3 and then connecting from a web browser as I suggested? What happened when you did this?

Please can you try opening a command window (run cmd.exe) and executing this command: ** netstat -anop TCP | find /i ":10" **
Please cut and paste what I've given between the **s, the format is very specific. It should show TCP port 1010 as listening or connected.

Martin


Top
Profile Quote
pck42
Post subject: Re: Chrome refuses connect with local host
Posted: Sat Nov 09, 2024 5:43 pm
Offline
 
Posts: 140
Joined: Sat Apr 30, 2022 4:23 pm
Location: Orlando, Florida
 
Hi Martin,

Attached is what running that programs shows (i.e. nothing)

Yes I did connect FS and PF3 and using chrome get the message "That site cannot be reached"

I have been using AVG but have also tested PF3 displayer as well as PF3 Web Display with both AVG and Defender disabled.

PF3 WebDisply.ini is in the same folder as PF3 WebDisplay.exe so why would the log say the ini file is not found?

What next if anything.
pck42

Attachments
Microsoft Windows [Version 10.0.261.zip
(397 Bytes) Downloaded 117 times


Top
Profile Quote
pointy56
Post subject: Re: Chrome refuses connect with local host
Posted: Mon Nov 11, 2024 3:14 pm
Offline
 
Posts: 359
Joined: Tue Feb 02, 2021 7:51 am
 
Hi Paul,

I am struggling to understand what is happening on your system as the results of some commands seem inconsistent.
For example, you say that the WD ini file is in the WD directory, but it is not being found when WD is autostarted by PF3.
Could you please upload a screenshot of your WD directory - here's what mine looks like (don't worry if your timestamps are different):
[ attachment ]
WD Directory.png (15.79 KiB) Viewed 8402 times
Also, you say that PF3 Displayer was working some months ago; what has changed since then?
Have you upgraded from Windows 10 to Windows 11, or reinstalled PF3 on a different system?

Thanks, Martin.


Top
Profile Quote
pck42
Post subject: Re: Chrome refuses connect with local host
Posted: Mon Nov 11, 2024 7:13 pm
Offline
 
Posts: 140
Joined: Sat Apr 30, 2022 4:23 pm
Location: Orlando, Florida
 
Hi Martin,

Attached WD folder contents.

Have been using Windows 11 since inception. Have reinstalled PF3 several times to correct the problems but without success and have reinstalled FS2020 again with no success and I am using Dave latest version 3.22.26. I don't remember exactly but certainly dates back to April 2024 when Dave tried to help me.

Thanks for your willingness to try and resolve the issue.
pck42

Attachments
Screenshot 2024-11-11 135657.zip
(43.43 KiB) Downloaded 112 times


Top
Profile Quote
pointy56
Post subject: Re: Chrome refuses connect with local host
Posted: Sat Nov 16, 2024 5:10 pm
Offline
 
Posts: 359
Joined: Tue Feb 02, 2021 7:51 am
 
Apologies for the delay in coming back to you, it's been a busy week. Your Web Display folder seems fine.

Can you please try something for me again:
Run PF3, but just leave it at the initial screen; then run the command netstat -anop TCP | find ":10" in a command window as before.
I would expect you to see something like this:
[ attachment ]
2024-11-16 16_49_18-Window.png (9.2 KiB) Viewed 8241 times
This shows that PF3 (process 10972) has opened the Remote Text ports, 1008 and 1009 for my system (the defaults) - you can ignore 1020.

If you then start FS, connect PF3 and run the same command again you should see then something like the second block here:
[ attachment ]
2024-11-16 16_52_49-Command Prompt.png (29.65 KiB) Viewed 8241 times
This shows that process 2588 (Web Display) has connected to PF3 on ports 1009 and 1010, as expected.
You will see that I also ran netstat -anop TCP | find ":7339" to confirm that Web Display has opened its port for the web access.
(I would expect you to only have 2 rows here - the others are for extra network adapters that I have on my FS & development system)

If you're not seeing something similar then we will need to resolve that problem first.

Martin


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 3  [ 27 posts ]
Return to “PF3 WEB Display Support” | Jump to page 1 2 3 »
Jump to: