Main Board > Language
*VIEWER* with SSH
Mike King:
Assuming you are using WindX to connect to your host/server.
The IP address should be the same as you provided to WindX, just the port number needs to change as port 22 is the SSH connection port.
You should be able to the firewall/connection as follows:
On one WIndX session:
OPEN (1) "[TCP];20000"
READ RECORD (1) R$
WHILE 1
READ RECORD (1,TIM=1 :(,ERR=*BREAK) R$
PRINT R$
WEND
PRINT (1) "HTTP/1.1 200 OK"
PRINT (1) "Content-type: text/plain",'lf'
PRINT (1) "Hello There"
CLOSE (1)
Then on your workstation open a browser and navigate to
http://x.x.x.x:20000
Where x.x.x.x is the IP address of your server.
The first session will wait for a connection on port 20000 (or whatever port you chose). When the browser connects it will respond with "Hello There". Make sure you use the server IP address not its network name to avoid a browser error.
Ned L:
Mike -
Thank you for your patience and ongoing help.
I am still getting
0134 LET ParametersSoftware=NEW("*viewer/parameters","*viewer/software.prm")
Error #99: Feature not supported
Current program is /pxplus/lib/_dev/preview, line 134
when I try to
OPEN (7) "*VIEWER*"
I am using
"C:\PVX Plus Technologies\Windx Plugin 2018\pxplus.exe"
to start WindX, connection type SSH, port 22
I think I've done everything you've said to do (see below). The IT guy at the client says he has opened port 20000 fully, and when I do the test program you suggested, he can see traffic on port 20000, followed by a 'random' port opening.
FYI:
I have done what you suggested, and the test program you suggested now works as you said it would. (It waits until my browser (on the WindX PC) asks for a connection, and then displays
GET / HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gi
f, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd
.ms-powerpoint, application/msword, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.
0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C;
.NET4.0E)
Accept-Encoding: gzip, deflate
Host: nn.nn.nn.nn:20000
Connection: Keep-Alive
and stops.
Any further suggestions?)
- Ned
EVa:
Ned,
What's the output of PKG when entered in console mode ?
-Eric-
Ned L:
Eric -
Sorry for the delay in responding, and thank you for your response.
Here's what I get:
PxPlus Type = Professional
Expiry Date = none
User Count = 40
Version Information = 15000002 / Activation Level 15
***** Activated Packages *****
20001 Internet Toolkit 20003 SSL Support
20004 Multiple Image Type Support 20005 Smart Controls
20006 Chart Control 20007 Customizer
20008 Views 20010 BBx Keyed File Read
20011 OLE Server 20012 Report Writer
20013 Thin Client Plug-in 20014 MySQL
20017 Native Oracle Support 20018 Native DB2 Support
20019 ADO Interface to MS Sql 21020 eSignature
***** Separately Activated Packages *****
7587 PxPlus Enabled Expiry Date=none
***** Non-Activated Packages *****
20002 Web Server 20009 Application Server
20015 XML 20020 PxServer
20021 MyTiles
EVa:
Ned,
Can you start the trace window and enable host tracing (& log all errors) and tell us on what line in which program you are getting the error 99 ?
-Eric-
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version