URLs with Port Numbers

If you specify a port number in your URL, as in for example http://intranet.corp.com:1080, you might get the error message Access to restricted port in POST denied. This is done for security reasons. If you nevertheless need to access a server on this port, just add a key line


OverridenPorts=CommaSeparatedListOfAllowedPorts

to $KDEDIR/share/config/kio_httprc or ~/.kde/share/config/kio_httprc.

For example

OverridenPorts=23,15

(it should not include any embedded spaces).

Konqueror will reject the following ports (the list is hardcoded in kdelibs/kio/kio/job.cpp):

1, 7, 9, 11, 13, 15, 17, 19, 20, 21, 22, 23, 25, 37, 42, 43, 53, 77, 79, 87, 95, 101, 102, 103, 104, 109, 110, 111, 113, 115, 117, 119, 123, 135, 139, 143, 179, 389, 512, 513, 514, 515, 526, 530, 531, 532, 540, 556, 587, 601, 989, 990, 992, 993, 995, 1080, 2049, 4045, 6000, 6667